diff options
-rw-r--r-- | lualib/lua_redis.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lualib/lua_redis.lua b/lualib/lua_redis.lua index 7b85f44c4..003fee957 100644 --- a/lualib/lua_redis.lua +++ b/lualib/lua_redis.lua @@ -1140,6 +1140,8 @@ local function script_set_loaded(script) script.loaded = true end + script.servers_ready = nil -- Allow further reload + local wait_table = {} for _, s in ipairs(script.waitq) do table.insert(wait_table, s) |