Skip to content

Commit

Permalink
[FAB-12274] Increase CouchDB maxRetriesOnStartup
Browse files Browse the repository at this point in the history
As there have been reports of peer exhausting retries before CouchDB
becomes available in docker networks, increase maxRetriesOnStartup
from 10 to 12.
Each retry will wait 2x as long as the prior before retrying.

Change-Id: If322e9fd0a89dad783cd11ed89dd11ade06c3b0f
Signed-off-by: David Enyeart <enyeart@us.ibm.com>
  • Loading branch information
denyeart committed Oct 3, 2018
1 parent d3dc8ef commit 71a7713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sampleconfig/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ ledger:
# Number of retries for CouchDB errors
maxRetries: 3
# Number of retries for CouchDB errors during peer startup
maxRetriesOnStartup: 10
maxRetriesOnStartup: 12
# CouchDB request timeout (unit: duration, e.g. 20s)
requestTimeout: 35s
# Limit on the number of records per each CouchDB query
Expand Down

0 comments on commit 71a7713

Please sign in to comment.