MCPcopy Create free account
hub / github.com/celery/celery / close

Method close

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

Source from the content-addressed store, hash-verified

128 super().__init__(w, **kwargs)
129
130 def close(self, w):
131 if w.pool:
132 w.pool.close()
133
134 def terminate(self, w):
135 if w.pool:

Callers 4

test_close_terminateMethod · 0.95
signal_consumer_closeMethod · 0.45
stopMethod · 0.45
terminateMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_close_terminateMethod · 0.76