MCPcopy
hub / github.com/celery/celery / _call_handlers

Method _call_handlers

celery/worker/consumer/gossip.py:148–154  ·  view source on GitHub ↗
(self, handlers, *args, **kwargs)

Source from the content-addressed store, hash-verified

146 self._call_handlers(self.on.node_lost, worker)
147
148 def _call_handlers(self, handlers, *args, **kwargs):
149 for handler in handlers:
150 try:
151 handler(*args, **kwargs)
152 except Exception as exc: # pylint: disable=broad-except
153 logger.exception(
154 'Ignored error from handler %r: %r', handler, exc)
155
156 def register_timer(self):
157 if self._tref is not None:

Callers 3

on_node_joinMethod · 0.95
on_node_leaveMethod · 0.95
on_node_lostMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected