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

Method stop

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

Source from the content-addressed store, hash-verified

1084 self._is_stopped.set()
1085
1086 def stop(self, wait=False):
1087 info('beat: Shutting down...')
1088 self._is_shutdown.set()
1089 wait and self._is_stopped.wait() # block until shutdown done.
1090
1091 def get_scheduler(self, lazy=False,
1092 extension_namespace='celery.beat_schedulers'):

Callers 4

beat_nodeMethod · 0.95
startMethod · 0.45
stopMethod · 0.45
stopMethod · 0.45

Calls 3

infoFunction · 0.85
setMethod · 0.45
waitMethod · 0.45

Tested by 1

beat_nodeMethod · 0.76