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

Function _patch_eventlet

celery/__init__.py:103–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101
102
103def _patch_eventlet():
104 import eventlet.debug
105
106 eventlet.monkey_patch()
107 blockdetect = float(os.environ.get('EVENTLET_NOBLOCK', 0))
108 if blockdetect:
109 eventlet.debug.hub_blocking_detection(blockdetect, blockdetect)
110
111
112def _patch_gevent():

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected