Restoring the max_jobs to a reasonable value, not only for testing. queuelimit2
authorviric <viriketo@gmail.com>
Mon, 18 Jul 2011 22:43:41 +0200
branchqueuelimit2
changeset 290 eefb37e0a8fe
parent 289 f331d05328b3
child 291 80751242a508
child 292 72419de39d72
Restoring the max_jobs to a reasonable value, not only for testing.
server.c
--- a/server.c	Mon Jul 18 22:43:05 2011 +0200
+++ b/server.c	Mon Jul 18 22:43:41 2011 +0200
@@ -173,7 +173,7 @@
 
     /* Arbitrary limit, that will block the enqueuing, but should allow space
      * for usual ts queries */
-    max_jobs = 2;
+    max_jobs = max_descriptors - 5;
 
     path = _path;