Rename var to fixed_time_expire now that is more general.

This commit is contained in:
antirez
2019-11-19 11:28:04 +01:00
parent b42466b925
commit ce03d68332
4 changed files with 7 additions and 8 deletions

View File

@ -521,7 +521,7 @@ void handleClientsBlockedOnKeys(void) {
* that) without the risk of it being freed in the second
* lookup, invalidating the first one.
* See https://github.com/antirez/redis/pull/6554. */
server.call_depth++;
server.fixed_time_expire++;
updateCachedTime(0);
/* Serve clients blocked on list key. */
@ -539,8 +539,7 @@ void handleClientsBlockedOnKeys(void) {
* module is trying to accomplish right now. */
serveClientsBlockedOnKeyByModule(rl);
}
server.call_depth--;
server.fixed_time_expire--;
/* Free this item. */
decrRefCount(rl->key);