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
f1df1739
Commit
f1df1739
authored
Jan 08, 2011
by
antirez
Browse files
resolved a problem with delayed loading of keys
parent
cc275067
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dscache.c
View file @
f1df1739
...
...
@@ -756,7 +756,8 @@ int cacheScheduleIOPushJobs(int flags) {
if
(
op
->
type
!=
REDIS_IO_LOAD
&&
flags
&
REDIS_IO_ONLYLOADS
)
break
;
if
(
!
(
flags
&
REDIS_IO_ASAP
)
&&
/* Don't execute SAVE before the scheduled time for completion */
if
(
op
->
type
==
REDIS_IO_SAVE
&&
!
(
flags
&
REDIS_IO_ASAP
)
&&
(
now
-
op
->
ctime
)
<
server
.
cache_flush_delay
)
break
;
/* Don't add a SAVE job in the IO thread queue if there is already
...
...
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