lazyfree: add a new configuration lazyfree-lazy-user-del

Delete keys in async way when executing DEL command, if
lazyfree-lazy-user-del is yes.
This commit is contained in:
zhaozhao.zz
2019-07-17 11:00:51 +08:00
parent b7c78b7651
commit 3c0ed0309a
4 changed files with 7 additions and 2 deletions

View File

@ -536,7 +536,7 @@ void delGenericCommand(client *c, int lazy) {
}
void delCommand(client *c) {
delGenericCommand(c,0);
delGenericCommand(c,server.lazyfree_lazy_user_del);
}
void unlinkCommand(client *c) {