Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/celery/celery
/ stop
Method
stop
celery/utils/threads.py:86–91 ·
view source on GitHub ↗
Graceful shutdown.
(self)
Source
from the content-addressed store, hash-verified
84
pass
85
86
def
stop(self):
87
""
"Graceful shutdown."
""
88
self.__is_shutdown.set()
89
self.__is_stopped.wait()
90
if
self.is_alive():
91
self.join(THREAD_TIMEOUT_MAX)
92
93
94
def
release_local(local):
Callers
nothing calls this directly
Calls
4
is_alive
Method · 0.80
set
Method · 0.45
wait
Method · 0.45
join
Method · 0.45
Tested by
no test coverage detected