Skip to content

Commit 71a7713

Browse files
committed
[FAB-12274] Increase CouchDB maxRetriesOnStartup
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>
1 parent d3dc8ef commit 71a7713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sampleconfig/core.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ ledger:
625625
# Number of retries for CouchDB errors
626626
maxRetries: 3
627627
# Number of retries for CouchDB errors during peer startup
628-
maxRetriesOnStartup: 10
628+
maxRetriesOnStartup: 12
629629
# CouchDB request timeout (unit: duration, e.g. 20s)
630630
requestTimeout: 35s
631631
# Limit on the number of records per each CouchDB query

0 commit comments

Comments
 (0)