From 2ec3a6c873bc672afd6c550df232d53d41204195 Mon Sep 17 00:00:00 2001 From: Thomas S Hatch Date: Thu, 3 Mar 2011 13:38:13 -0700 Subject: [PATCH] change the workers on the master top use threading --- salt/master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/master.py b/salt/master.py index 067eea8ce3..44c2bbddf6 100644 --- a/salt/master.py +++ b/salt/master.py @@ -106,7 +106,7 @@ class ReqServer(multiprocessing.Process): self.workers.bind(self.w_uri) for ind in range(int(self.num_threads)): - proc = multiprocessing.Process(target=self.__worker) + proc = threading.Thread(target=self.__worker) proc.start() zmq.device(zmq.QUEUE, self.clients, self.workers)