X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/bb48c5fa678b182deb59a59beb293f6c45060ca1..115e3ff39e8cbf2f2e044fbd6c65c2e6602c537f:/redis.conf diff --git a/redis.conf b/redis.conf index 18a5dd03..71d6f70b 100644 --- a/redis.conf +++ b/redis.conf @@ -316,9 +316,16 @@ auto-aof-rewrite-min-size 64mb ################################ LUA SCRIPTING ############################### # Max execution time of a Lua script in milliseconds. -# This prevents that a programming error generating an infinite loop will block -# your server forever. Set it to 0 or a negative value for unlimited execution. -lua-time-limit 60000 +# +# If the maximum execution time is reached Redis will log that a script is +# 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. +# +# Set it to 0 or a negative value for unlimited execution without warnings. +lua-time-limit 5000 ################################ REDIS CLUSTER ############################### #