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

Method start

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

Source from the content-addressed store, hash-verified

267 signals.worker_shutdown.send(sender=self)
268
269 def start(self):
270 try:
271 self.blueprint.start(self)
272 except WorkerTerminate:
273 self.terminate()
274 except Exception as exc:
275 logger.critical('Unrecoverable error: %r', exc, exc_info=True)
276 self.stop(exitcode=EX_FAILURE)
277 except SystemExit as exc:
278 self.stop(exitcode=exc.code)
279 except KeyboardInterrupt:
280 self.stop(exitcode=EX_FAILURE)
281
282 def register_with_event_loop(self, hub):
283 self.blueprint.send_all(

Callers 1

bench_workFunction · 0.95

Calls 2

terminateMethod · 0.95
stopMethod · 0.95

Tested by

no test coverage detected