Commit 36088c4c authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Fix previous patch using workerpool in masterd

The function to stop a worker pool is TerminateWorkers(), not Shutdown().

Reviewed-by: iustinp
parent 726a7f7f
......@@ -136,7 +136,7 @@ class IOServer(SocketServer.UnixStreamServer):
utils.RemoveFile(constants.MASTER_SOCKET)
finally:
if self.request_workers:
self.request_workers.Shutdown()
self.request_workers.TerminateWorkers()
if self.jobqueue:
self.jobqueue.Shutdown()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment