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

@ -1220,7 +1220,7 @@ int keyIsExpired(redisDb *db, robj *key) {
* may re-open the same key multiple times, can invalidate an already
* open object in a next call, if the next call will see the key expired,
* while the first did not. */
else if (server.call_depth > 0) {
else if (server.fixed_time_expire > 0) {
now = server.mstime;
}
/* For the other cases, we want to use the most fresh time we have. */