提交 f1df1739 编写于 作者: A antirez

resolved a problem with delayed loading of keys

上级 cc275067
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册