commit | c6e891d26879bdaef9408196f436769e69e5e58f | [log] [tgz] |
---|---|---|
author | Tony Sun <tony.sun@cloudant.com> | Fri May 27 12:47:08 2016 -0700 |
committer | Tony Sun <tony.sun@cloudant.com> | Fri May 27 12:47:08 2016 -0700 |
tree | 60da94a939ac17564fe31ae3d731f72890c32464 | |
parent | 8697441137d635fbd6490692cb075912b36c7239 [diff] |
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