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

Method _error_handler

celery/apps/worker.py:217–221  ·  view source on GitHub ↗
(exc, interval)

Source from the content-addressed store, hash-verified

215 return connection
216
217 def _error_handler(exc, interval):
218 logger.error(
219 'purge: Connection error: %s. Trying again %s...',
220 exc, humanize_seconds(interval, 'in', ' '),
221 )
222
223 return connection.ensure_connection(
224 _error_handler, self.app.conf.broker_connection_max_retries,

Callers

nothing calls this directly

Calls 2

humanize_secondsFunction · 0.90
errorMethod · 0.45

Tested by

no test coverage detected