Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_terminate
Method · 0.95
signal_consumer_close
Method · 0.45
stop
Method · 0.45
terminate
Method · 0.45
Calls
no outgoing calls
Tested by
1
test_close_terminate
Method · 0.76