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

Method run

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

Source from the content-addressed store, hash-verified

1136 self.name = 'Beat'
1137
1138 def run(self):
1139 reset_signals(full=False)
1140 platforms.close_open_fds([
1141 sys.__stdin__, sys.__stdout__, sys.__stderr__,
1142 ] + list(iter_open_logger_fds()))
1143 self.app.set_default()
1144 self.app.set_current()
1145 self.service.start(embedded_process=True)
1146
1147 def stop(self):
1148 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