mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 08:41:21 +00:00
Set lua-time-limit default value at safe place.
Otherwise, as it was, it will overwrite whatever the user set. Close #3703.
This commit is contained in:
@ -1412,6 +1412,7 @@ void initServerConfig(void) {
|
||||
server.lazyfree_lazy_expire = CONFIG_DEFAULT_LAZYFREE_LAZY_EXPIRE;
|
||||
server.lazyfree_lazy_server_del = CONFIG_DEFAULT_LAZYFREE_LAZY_SERVER_DEL;
|
||||
server.always_show_logo = CONFIG_DEFAULT_ALWAYS_SHOW_LOGO;
|
||||
server.lua_time_limit = LUA_SCRIPT_TIME_LIMIT;
|
||||
|
||||
server.lruclock = getLRUClock();
|
||||
resetServerSaveParams();
|
||||
|
Reference in New Issue
Block a user