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

Method _error_handler

celery/beat.py:538–540  ·  view source on GitHub ↗
(exc, interval)

Source from the content-addressed store, hash-verified

536 # callback called for each retry while the connection
537 # can't be established.
538 def _error_handler(exc, interval):
539 error('beat: Connection error: %s. '
540 'Trying again in %s seconds...', exc, interval)
541
542 return self.connection.ensure_connection(
543 _error_handler, self.app.conf.broker_connection_max_retries

Callers 1

Calls

no outgoing calls

Tested by 1