mirror of
https://github.com/fluencelabs/redis
synced 2025-06-13 01:01:22 +00:00
try lazyfree temp set in SUNION & SDIFF
This commit is contained in:
@ -1064,6 +1064,7 @@ void sunionDiffGenericCommand(client *c, robj **setkeys, int setnum,
|
|||||||
sdsfree(ele);
|
sdsfree(ele);
|
||||||
}
|
}
|
||||||
setTypeReleaseIterator(si);
|
setTypeReleaseIterator(si);
|
||||||
|
server.lazyfree_lazy_server_del ? freeObjAsync(dstset) :
|
||||||
decrRefCount(dstset);
|
decrRefCount(dstset);
|
||||||
} else {
|
} else {
|
||||||
/* If we have a target key where to store the resulting set
|
/* If we have a target key where to store the resulting set
|
||||||
|
Reference in New Issue
Block a user