(exc, interval)
| 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 |
no outgoing calls