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

Method should_use_eventloop

celery/worker/worker.py:307–310  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

305 pass
306
307 def should_use_eventloop(self):
308 return (detect_environment() == 'default' and
309 self._conninfo.transport.implements.asynchronous and
310 not self.app.IS_WINDOWS)
311
312 def stop(self, in_sighandler=False, exitcode=None):
313 """Graceful shutdown of the worker server (Warm shutdown)."""

Callers 1

setup_instanceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected