MCPcopy
hub / github.com/celery/celery / start

Method start

celery/contrib/testing/worker.py:73–79  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

71 raise
72
73 def start(self):
74 if self.logger_queue:
75 handler = self.QueueHandler(self.logger_queue)
76 handler.addFilter(lambda r: r.process != self.pid and not getattr(r, 'from_queue', False))
77 logger = logging.getLogger()
78 logger.addHandler(handler)
79 return super().start()
80
81 def on_consumer_ready(self, consumer):
82 # type: (celery.worker.consumer.Consumer) -> None

Callers 2

__init__Method · 0.45
_start_worker_threadFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected