summaryrefslogtreecommitdiff
path: root/src/db.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2010-12-31 18:23:31 +0100
committerantirez <antirez@gmail.com>2010-12-31 18:23:31 +0100
commitaa81e4d5f4b4d942b9340fd2d401e7795fa9fd1e (patch)
treeedb3ccaef4be018b48897fe63caa8825e91aae14 /src/db.c
parentd934e1e85b1ec1c6d2cd07292cced53770f4a626 (diff)
downloadredis-aa81e4d5f4b4d942b9340fd2d401e7795fa9fd1e.tar.gz
minor changes to doc and comments
Diffstat (limited to 'src/db.c')
-rw-r--r--src/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.c b/src/db.c
index 1a30034e8..1f185e29c 100644
--- a/src/db.c
+++ b/src/db.c
@@ -19,7 +19,7 @@ robj *lookupKey(redisDb *db, robj *key) {
if (server.ds_enabled && val->storage == REDIS_DS_SAVING) {
/* FIXME: change this code to just wait for our object to
- * get out of the IO Job. */
+ * get out of the IO Job. As it is now it is correct but slow. */
waitEmptyIOJobsQueue();
processAllPendingIOJobs();
redisAssert(val->storage != REDIS_DS_SAVING);