6ed30c9476
Right now, the backoff mechanism is broken when the backoff is set to something non-zero. Basically, you go into this state where you retry ad infinitum, leading to inconsistent behavior. This change fixes the mechanism so that you only get a fixed number of retries. You can choose (through a new config parameter) to allow backoff (or not). To restore some of the old behavior, the default for the connect_retries parameter has been increased from 2 to 4, and the max backoff time has been decreased from 1024 to 512 seconds. Its unlikely that we'd ever reach that backoff time without a large number of retries, but 1024 seems too long. And there is a new exception that is thrown when the connection fails. This will result in nice 500 errors in the novajoin-server, and some log messages for the notifier. Change-Id: I10547fbde8966c8694346ed8c054e627bee2ee51 |
||
---|---|---|
.. | ||
notes |