From 0056a2232c05a090abb9de86a5856c799db51a85 Mon Sep 17 00:00:00 2001 From: Andrius Dagys Date: Wed, 13 Jun 2018 17:46:32 +0100 Subject: [PATCH] CORDA-1628: Increase max restart count for notary client flows. (#3357) This will ensure that the notary client flow will retry over a sufficient period of time for the notary to update its network map. With a backoff base of 1.8 and 5 retries the last retry will fire after about 20 min 8 sec of the initial flow start: # Timeout, sec 0 30 1 54 2 97.2 3 174.96 4 314.928 5 566.8704 Total 1207.9584 = 20.13264 min --- node/src/main/resources/reference.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/src/main/resources/reference.conf b/node/src/main/resources/reference.conf index ffb1c12ed8..11d4414886 100644 --- a/node/src/main/resources/reference.conf +++ b/node/src/main/resources/reference.conf @@ -22,6 +22,6 @@ rpcSettings = { } flowTimeout { timeout = 30 seconds - maxRestartCount = 3 - backoffBase = 2.0 + maxRestartCount = 5 + backoffBase = 1.8 }