]> git.saurik.com Git - redis.git/commitdiff
redis.conf updated to reflect the new scripting timeout semantics.
authorantirez <antirez@gmail.com>
Fri, 18 Nov 2011 15:29:22 +0000 (16:29 +0100)
committerantirez <antirez@gmail.com>
Fri, 18 Nov 2011 15:29:22 +0000 (16:29 +0100)
redis.conf

index 6663a4ec89da056b87ab9a8466b2cd6f59e7a08e..df23414c20af883c77a0b4ff9b0e7068564d72ba 100644 (file)
@@ -339,8 +339,12 @@ auto-aof-rewrite-min-size 64mb
 # still in execution after the maxium allowed time and will start to
 # reply to queries with an error.
 #
-# The SHUTDOWN command will be available to shutdown the server without
-# violating the database consistency if the script entered an infinite loop.
+# When a long running script exceed the maxium execution time only the
+# SCRIPT KILL and SHUTDOWN NOSAVE commands are available. The first can be
+# used to stop a script that did not yet called write commands. The second
+# is the only way to shut down the server in the case a write commands was
+# already issue by the script but the user don't want to wait for the natural
+# termination of the script.
 #
 # Set it to 0 or a negative value for unlimited execution without warnings.
 lua-time-limit 5000