MCPcopy
hub / github.com/celery/celery / stop

Method stop

celery/beat.py:661–664  ·  view source on GitHub ↗
(self, wait=False)

Source from the content-addressed store, hash-verified

659 self._is_stopped.set()
660
661 def stop(self, wait=False):
662 info('beat: Shutting down...')
663 self._is_shutdown.set()
664 wait and self._is_stopped.wait() # block until shutdown done.
665
666 def get_scheduler(self, lazy=False,
667 extension_namespace='celery.beat_schedulers'):

Callers 2

stopMethod · 0.45
stopMethod · 0.45

Calls 3

infoFunction · 0.85
setMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected