MCPcopy
hub / github.com/celery/celery / run

Method run

celery/beat.py:713–720  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

711 self.name = 'Beat'
712
713 def run(self):
714 reset_signals(full=False)
715 platforms.close_open_fds([
716 sys.__stdin__, sys.__stdout__, sys.__stderr__,
717 ] + list(iter_open_logger_fds()))
718 self.app.set_default()
719 self.app.set_current()
720 self.service.start(embedded_process=True)
721
722 def stop(self):
723 self.service.stop()

Callers

nothing calls this directly

Calls 4

iter_open_logger_fdsFunction · 0.85
set_defaultMethod · 0.80
set_currentMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected