Skip to content

Commit

Permalink
fixed logging level for debugging message
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Jan 3, 2011
1 parent bafa88c commit 5ab7bbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/db.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ robj *lookupKey(redisDb *db, robj *key) {
cacheScheduleIOGetFlags(db,key) & REDIS_IO_SAVEINPROG)
{
/* Need to wait for the key to get unbusy */
redisLog(REDIS_WARNING,"Lookup found a key in SAVEINPROG state. Waiting. (Key was in the cache)");
redisLog(REDIS_DEBUG,"Lookup found a key in SAVEINPROG state. Waiting. (Key was in the cache)");
lookupWaitBusyKey(db,key);
}
server.stat_keyspace_hits++;
Expand All @@ -76,7 +76,7 @@ robj *lookupKey(redisDb *db, robj *key) {
/* At this point we need to blocking load the key in memory.
* The first thing we do is waiting here if the key is busy. */
if (flags & REDIS_IO_SAVEINPROG) {
redisLog(REDIS_WARNING,"Lookup found a key in SAVEINPROG state. Waiting (while force loading).");
redisLog(REDIS_DEBUG,"Lookup found a key in SAVEINPROG state. Waiting (while force loading).");
lookupWaitBusyKey(db,key);
}

Expand Down

0 comments on commit 5ab7bbf

Please sign in to comment.