MCPcopy
hub / github.com/celery/celery / on_node_lost

Method on_node_lost

celery/worker/consumer/gossip.py:144–146  ·  view source on GitHub ↗
(self, worker)

Source from the content-addressed store, hash-verified

142 self._call_handlers(self.on.node_leave, worker)
143
144 def on_node_lost(self, worker):
145 info('missed heartbeat from %s', worker.hostname)
146 self._call_handlers(self.on.node_lost, worker)
147
148 def _call_handlers(self, handlers, *args, **kwargs):
149 for handler in handlers:

Callers 3

test_callbacksMethod · 0.95
test_on_node_lostMethod · 0.95
periodicMethod · 0.95

Calls 2

_call_handlersMethod · 0.95
infoFunction · 0.85

Tested by 2

test_callbacksMethod · 0.76
test_on_node_lostMethod · 0.76