X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/37b29ef2fa2ce3e6bafcf1d8979504532ed8cc31..6663653f515285aebe772663a24c381929c3e512:/redis.conf diff --git a/redis.conf b/redis.conf index d2eae1af..1b79e09e 100644 --- a/redis.conf +++ b/redis.conf @@ -392,23 +392,6 @@ auto-aof-rewrite-min-size 64mb # Set it to 0 or a negative value for unlimited execution without warnings. lua-time-limit 5000 -# By default variables in a Lua script are global, this means that a correct -# script must declare all the local variables explicitly using the 'local' -# keyword. Lua beginners are known to violate this rule, polluting the global -# namespace, or creating scripts that may fail under certain conditions, for -# this reason by default Redis installs a protection that will raise an error -# every time a script attempts to access a global variable that was not -# explicitly declared via global(). -# -# It's worth to note that normal Redis scripts should never use globals, but -# we don't entirely disable the possibility because from time to time crazy -# things in the right hands can be pretty powerful. -# -# Globals protection may result into a minor performance hint, so it is -# possible to disable the feature in production environments using the -# following configuration directive, or at runtime using CONFIG SET. -lua-protect-globals yes - ################################ REDIS CLUSTER ############################### # # Normal Redis instances can't be part of a Redis Cluster, only nodes that are