GitHub user tonysun83 opened a pull request: https://github.com/apache/couchdb-couch-replicator/pull/40
Add Exponential Backoff for 429 errors. When we encounter a 429, we retry with a different set of retries and timeout. This will theoretically reduce client replication overload. When 429s have stopped, it's possible that a 500 error could occur. Then the retry mechanism should go back to the original way for backwards compatibility. You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/couchdb-couch-replicator 3010-handle-429 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/couchdb-couch-replicator/pull/40.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #40 ---- commit c6e891d26879bdaef9408196f436769e69e5e58f Author: Tony Sun <tony....@cloudant.com> Date: 2016-05-27T19:47:08Z Add exponential backoff for 429 errors. When we encounter a 429, we retry with a different set of retries and timeout. This will theoretically reduce client replication overload. When 429s have stopped, it's possible that a 500 error could occur. Then the retry mechanism should go back to the original way for backwards compatibility. COUCHDB-3010 ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---