mirror of
https://github.com/fluencelabs/redis
synced 2025-06-13 01:01:22 +00:00
Function renamed hasForkChild() -> hasActiveChildProcess().
This commit is contained in:
2
src/db.c
2
src/db.c
@ -60,7 +60,7 @@ robj *lookupKey(redisDb *db, robj *key, int flags) {
|
||||
/* Update the access time for the ageing algorithm.
|
||||
* Don't do it if we have a saving child, as this will trigger
|
||||
* a copy on write madness. */
|
||||
if (!hasForkChild() && !(flags & LOOKUP_NOTOUCH)){
|
||||
if (!hasActiveChildProcess() && !(flags & LOOKUP_NOTOUCH)){
|
||||
if (server.maxmemory_policy & MAXMEMORY_FLAG_LFU) {
|
||||
updateLFU(val);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user