summaryrefslogtreecommitdiff
path: root/zuul/executor/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'zuul/executor/server.py')
-rw-r--r--zuul/executor/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/zuul/executor/server.py b/zuul/executor/server.py
index 7956628..854e58d 100644
--- a/zuul/executor/server.py
+++ b/zuul/executor/server.py
@@ -2313,7 +2313,6 @@ class ExecutorServer(object):
2313 self._running = False 2313 self._running = False
2314 self._command_running = False 2314 self._command_running = False
2315 workers = list(self.job_workers.values()) 2315 workers = list(self.job_workers.values())
2316 self.command_socket.stop()
2317 2316
2318 for job_worker in workers: 2317 for job_worker in workers:
2319 try: 2318 try:
@@ -2344,6 +2343,7 @@ class ExecutorServer(object):
2344 self.statsd.gauge(base_key + '.pct_used_ram', 0) 2343 self.statsd.gauge(base_key + '.pct_used_ram', 0)
2345 self.statsd.gauge(base_key + '.running_builds', 0) 2344 self.statsd.gauge(base_key + '.running_builds', 0)
2346 2345
2346 self.command_socket.stop()
2347 self.log.debug("Stopped") 2347 self.log.debug("Stopped")
2348 2348
2349 def join(self): 2349 def join(self):