]> git.saurik.com Git - redis.git/commitdiff
Don't increment dirty on expireIfNeeded() as natural expires are not considered datab...
authorantirez <antirez@gmail.com>
Fri, 15 Oct 2010 09:29:03 +0000 (11:29 +0200)
committerantirez <antirez@gmail.com>
Fri, 15 Oct 2010 09:29:03 +0000 (11:29 +0200)
src/db.c

index c1ce79b56310949f08368dab7b836aa83f3299e7..da7537f46f35fb6fb0dca9809c91519d67b480e9 100644 (file)
--- a/src/db.c
+++ b/src/db.c
@@ -468,7 +468,6 @@ int expireIfNeeded(redisDb *db, robj *key) {
 
     /* Delete the key */
     server.stat_expiredkeys++;
-    server.dirty++;
     propagateExpire(db,key);
     return dbDelete(db,key);
 }