MCPcopy
hub / github.com/celery/celery / current_process

Function current_process

celery/utils/log.py:284–290  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

282
283
284def current_process():
285 try:
286 from billiard import process
287 except ImportError:
288 pass
289 else:
290 return process.current_process()
291
292
293def current_process_index(base=1):

Callers 8

test_mp_no_hostnameMethod · 0.85
test_mp_hostnameMethod · 0.85
set_mp_process_titleFunction · 0.85
_app_or_default_traceFunction · 0.85
get_avail_portMethod · 0.85
current_process_indexFunction · 0.85
_handle_requestFunction · 0.85
state.pyFile · 0.85

Calls

no outgoing calls

Tested by 2

test_mp_no_hostnameMethod · 0.68
test_mp_hostnameMethod · 0.68