(exc, interval)
| 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, |
nothing calls this directly
no test coverage detected