mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +00:00
same final call of two if branches moved outside
This commit is contained in:
parent
e09b51869b
commit
3a21cb99e5
@ -383,11 +383,10 @@ void vmThreadedIOCompletedJob(aeEventLoop *el, int fd, void *privdata,
|
||||
}
|
||||
cacheScheduleIODelFlag(j->db,j->key,REDIS_IO_LOADINPROG);
|
||||
handleClientsBlockedOnSwappedKey(j->db,j->key);
|
||||
freeIOJob(j);
|
||||
} else if (j->type == REDIS_IOJOB_SAVE) {
|
||||
cacheScheduleIODelFlag(j->db,j->key,REDIS_IO_SAVEINPROG);
|
||||
freeIOJob(j);
|
||||
}
|
||||
freeIOJob(j);
|
||||
processed++;
|
||||
if (privdata == NULL) cacheScheduleIOPushJobs(0);
|
||||
if (processed == toprocess) return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user