Increase the thread size to 5
authorGuido Trotter <ultrotter@google.com>
Tue, 1 Jul 2008 10:43:49 +0000 (10:43 +0000)
committerGuido Trotter <ultrotter@google.com>
Tue, 1 Jul 2008 10:43:49 +0000 (10:43 +0000)
Now that we use the locking library to make sure running opcodes cannot
step on each other toes we can have a bigger thread size, and
potentially process many opcodes in a parallel manner.

Reviewed-by: iustinp

daemons/ganeti-masterd

index e042013..8f53bd3 100755 (executable)
@@ -65,7 +65,7 @@ class IOServer(SocketServer.UnixStreamServer):
   cleanup at shutdown.
 
   """
-  QUEUE_PROCESSOR_SIZE = 1
+  QUEUE_PROCESSOR_SIZE = 5
 
   def __init__(self, address, rqhandler, context):
     """IOServer constructor