MCPcopy
hub / github.com/celery/celery / terminate

Method terminate

celery/worker/components.py:134–136  ·  view source on GitHub ↗
(self, w)

Source from the content-addressed store, hash-verified

132 w.pool.close()
133
134 def terminate(self, w):
135 if w.pool:
136 w.pool.terminate()
137
138 def create(self, w):
139 semaphore = None

Callers 1

test_close_terminateMethod · 0.95

Calls 1

terminateMethod · 0.45

Tested by 1

test_close_terminateMethod · 0.76