MCPcopy
hub / github.com/celery/celery / on_stopped

Method on_stopped

celery/worker/worker.py:160–165  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

158 self.app.loader.shutdown_worker()
159
160 def on_stopped(self):
161 self.timer.stop()
162 self.consumer.shutdown()
163
164 if self.pidlock:
165 self.pidlock.release()
166
167 def setup_queues(self, include, exclude=None):
168 include = str_to_list(include)

Callers 1

stopMethod · 0.80

Calls 3

releaseMethod · 0.80
stopMethod · 0.45
shutdownMethod · 0.45

Tested by

no test coverage detected