Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment