nickva commented on issue #1399: backoff after replication failure should be 
configurable
URL: https://github.com/apache/couchdb/issues/1399#issuecomment-399307488
 
 
   Can try to adjust these two `[replicator]` settings:
   
   `retries_per_request = 5` : increase this to say 15, this way on a temporary 
failure requests will be retried without crashing the job
   
   `max_history = 20` : decrease this to 7. This limits the length of history 
of crashed events for each job and determines how long the backoff will be. The 
longer the history, the longer the consecutive failure count, the larger the 
delay.  The base delay is 30 seconds, then there are pairs of start, stop or 
crash events. So with 7 the max delay would be `30*2^(7/2)` which is about 4 
minutes.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to