mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 13:31:32 +00:00
Scripting: globals protection can now be switched on/off.
This commit is contained in:
@ -1067,6 +1067,7 @@ void initServerConfig() {
|
||||
server.lua_time_limit = REDIS_LUA_TIME_LIMIT;
|
||||
server.lua_client = NULL;
|
||||
server.lua_timedout = 0;
|
||||
server.lua_protect_globals = 1;
|
||||
|
||||
updateLRUClock();
|
||||
resetServerSaveParams();
|
||||
|
Reference in New Issue
Block a user