diff options
-rw-r--r-- | src/networking.c | 1 | ||||
-rw-r--r-- | src/server.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/networking.c b/src/networking.c index 8a3de6e79..bf4a8daa0 100644 --- a/src/networking.c +++ b/src/networking.c @@ -3364,6 +3364,7 @@ void unpauseClients(void) { client *c; server.client_pause_type = CLIENT_PAUSE_OFF; + server.client_pause_end_time = 0; /* Unblock all of the clients so they are reprocessed. */ listRewind(server.paused_clients,&li); diff --git a/src/server.c b/src/server.c index 8df92fd0d..58c0a3d6a 100644 --- a/src/server.c +++ b/src/server.c @@ -2764,6 +2764,10 @@ void initServerConfig(void) { * Redis 5. However it is possible to revert it via redis.conf. */ server.lua_always_replicate_commands = 1; + /* Client Pause related */ + server.client_pause_type = CLIENT_PAUSE_OFF; + server.client_pause_end_time = 0; + initConfigValues(); } |