MCPcopy
hub / github.com/celery/celery / should_use_eventloop

Method should_use_eventloop

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

Source from the content-addressed store, hash-verified

237 pass
238
239 def should_use_eventloop(self):
240 return (detect_environment() == 'default' and
241 self._conninfo.transport.implements.asynchronous and
242 not self.app.IS_WINDOWS)
243
244 def stop(self, in_sighandler=False, exitcode=None):
245 """Graceful shutdown of the worker server (Warm shutdown)."""

Callers 1

setup_instanceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected