Created
October 1, 2015 19:33
-
-
Save markuman/188c94ee34f56f98f08f to your computer and use it in GitHub Desktop.
Nine Nine Nine 3/4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127.0.0.1:6379> eval 'local seed = redis.call("TIME") math.randomseet(tonumber(seed[1] .. "." .. seed[2])) return redis.call("SET", "mykey", string.format("%f", math.random()))' 0 | |
(error) ERR Error running script (call to f_a26eed7f7bc45da4442c1a93ab5d56b42e72aff3): @user_script:1: @user_script: 1: Write commands not allowed after non deterministic commands |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment