diff --git a/src/expire.c b/src/expire.c index f2d135e2b..1c4f71df3 100644 --- a/src/expire.c +++ b/src/expire.c @@ -594,6 +594,7 @@ void pttlCommand(client *c) { void persistCommand(client *c) { if (lookupKeyWrite(c->db,c->argv[1])) { if (removeExpire(c->db,c->argv[1])) { + signalModifiedKey(c,c->db,c->argv[1]); notifyKeyspaceEvent(NOTIFY_GENERIC,"persist",c->argv[1],c->db->id); addReply(c,shared.cone); server.dirty++;