diff options
author | antirez <antirez@gmail.com> | 2018-02-27 16:37:37 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2018-02-27 16:37:37 +0100 |
commit | b00c4ffab5e79cc90108cad01dad7717cf2a3615 (patch) | |
tree | a517661cafe16549a6fdca8ac6ab8014f40591ec | |
parent | 956350ef8951c56878c593dfd775693059c44056 (diff) | |
download | redis-b00c4ffab5e79cc90108cad01dad7717cf2a3615.tar.gz |
expireIfNeeded() comment: claim -> pretend.
-rw-r--r-- | src/db.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1104,7 +1104,7 @@ int expireIfNeeded(redisDb *db, robj *key) { /* Don't expire anything while loading. It will be done later. */ if (server.loading) return 0; - /* If we are in the context of a Lua script, we claim that time is + /* If we are in the context of a Lua script, we pretend that time is * blocked to when the Lua script started. This way a key can expire * only the first time it is accessed and not in the middle of the * script execution, making propagation to slaves / AOF consistent. |