]> git.saurik.com Git - redis.git/commitdiff
removed useless call
authorantirez <antirez@gmail.com>
Tue, 8 Mar 2011 15:52:39 +0000 (16:52 +0100)
committerantirez <antirez@gmail.com>
Tue, 8 Mar 2011 15:52:39 +0000 (16:52 +0100)
src/dscache.c

index 0448d2cb1457acd188dc4bbd3ac7d0ad278de298..2dbc1134d8f7c62489b0fd7b3ffccaca72814df1 100644 (file)
@@ -587,8 +587,6 @@ void queueIOJob(iojob *j) {
     redisLog(REDIS_DEBUG,"Queued IO Job %p type %d about key '%s'\n",
         (void*)j, j->type, (char*)j->key->ptr);
     listAddNodeTail(server.io_newjobs,j);
-    if (server.io_active_threads < server.vm_max_threads)
-        spawnIOThread();
 }
 
 /* Consume all the IO scheduled operations, and all the thread IO jobs