MCPcopy
hub / github.com/celery/celery / send

Method send

celery/apps/multi.py:195–206  ·  view source on GitHub ↗
(self, sig, on_error=None)

Source from the content-addressed store, hash-verified

193 return self.send(0)
194
195 def send(self, sig, on_error=None):
196 pid = self.pid
197 if pid:
198 try:
199 os.kill(pid, sig)
200 except OSError as exc:
201 if exc.errno != errno.ESRCH:
202 raise
203 maybe_call(on_error, self)
204 return False
205 return True
206 maybe_call(on_error, self)
207
208 def start(self, env=None, **kwargs):
209 return self._waitexec(

Callers 15

aliveMethod · 0.95
finishedMethod · 0.45
startMethod · 0.45
on_consumer_readyMethod · 0.45
start_workerFunction · 0.45
send_allMethod · 0.45
shutdown_nodesMethod · 0.45
on_before_initMethod · 0.45
on_startMethod · 0.45
on_consumer_readyMethod · 0.45
_handle_requestFunction · 0.45
heartbeatFunction · 0.45

Calls 2

maybe_callFunction · 0.85
killMethod · 0.45

Tested by

no test coverage detected