diff options
Diffstat (limited to 'src/blocked.c')
-rw-r--r-- | src/blocked.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/blocked.c b/src/blocked.c index 65b584213..c4aded0c5 100644 --- a/src/blocked.c +++ b/src/blocked.c @@ -642,14 +642,6 @@ void handleClientsBlockedOnKeys(void) { * we can safely call signalKeyAsReady() against this key. */ dictDelete(rl->db->ready_keys,rl->key); - /* Even if we are not inside call(), increment the call depth - * in order to make sure that keys are expired against a fixed - * reference time, and not against the wallclock time. This - * way we can lookup an object multiple times (BLMOVE does - * that) without the risk of it being freed in the second - * lookup, invalidating the first one. - * See https://github.com/redis/redis/pull/6554. */ - server.fixed_time_expire++; updateCachedTime(0); /* Serve clients blocked on the key. */ @@ -681,7 +673,6 @@ void handleClientsBlockedOnKeys(void) { if (server.also_propagate.numops > 0) propagatePendingCommands(); } - server.fixed_time_expire--; /* Free this item. */ decrRefCount(rl->key); |