mirror of
https://github.com/fluencelabs/redis
synced 2025-05-10 17:57:11 +00:00
PERSIST should notify a keyspace event
This commit is contained in:
parent
c35a53169f
commit
1907e0f18f
@ -590,6 +590,7 @@ void pttlCommand(client *c) {
|
||||
void persistCommand(client *c) {
|
||||
if (lookupKeyWrite(c->db,c->argv[1])) {
|
||||
if (removeExpire(c->db,c->argv[1])) {
|
||||
notifyKeyspaceEvent(NOTIFY_GENERIC,"persist",c->argv[1],c->db->id);
|
||||
addReply(c,shared.cone);
|
||||
server.dirty++;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user