From b00c4ffab5e79cc90108cad01dad7717cf2a3615 Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 27 Feb 2018 16:37:37 +0100 Subject: expireIfNeeded() comment: claim -> pretend. --- src/db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db.c b/src/db.c index 203b29840..7d114bf00 100644 --- a/src/db.c +++ b/src/db.c @@ -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. -- cgit v1.2.1