MCPcopy
hub / github.com/celery/celery / set_default

Method set_default

celery/app/base.py:452–454  ·  view source on GitHub ↗

Make this the default app for all threads.

(self)

Source from the content-addressed store, hash-verified

450 _set_current_app(self)
451
452 def set_default(self):
453 """Make this the default app for all threads."""
454 set_default_app(self)
455
456 def _ensure_after_fork(self):
457 if not self._after_fork_registered:

Callers 7

ZZZZ_set_app_currentFunction · 0.80
test_set_defaultMethod · 0.80
runMethod · 0.80
celery_session_appFunction · 0.80
setup_app_for_workerFunction · 0.80
__init__Method · 0.80

Calls 1

set_default_appFunction · 0.90

Tested by 3

ZZZZ_set_app_currentFunction · 0.64
test_set_defaultMethod · 0.64
celery_session_appFunction · 0.64