Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
3a21cb99
Commit
3a21cb99
authored
Mar 08, 2011
by
antirez
Browse files
same final call of two if branches moved outside
parent
e09b5186
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dscache.c
View file @
3a21cb99
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment