celery/kombu — pull request #300 by antlegrand (2014-01-09 10:18:36+00:00)
Title: retry forever if max_retries is set to 0

Hello,

In celery documentation you have:
>>> BROKER_CONNECTION_MAX_RETRIES
Maximum number of retries before we give up re-establishing a connection to the AMQP broker.
If this is set to 0 or None, we will retry forever.

But with setting 0 as MAX_RETRIES, it disables retry and instant raise the error.