Skip to content

Commit 8403f94

Browse files
author
JAMES FUQIAN
committed
fix incorrect retry wait sequence example.
1 parent 2418aba commit 8403f94

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ Retry is enabled by default for FHIR requests, retry_settings: parameters for ex
6161

6262
the exponential back off factor (in seconds) is used to calculate interval between retries by below formular, where i starts from 0:
6363

64-
{backoff factor} * (2 ** ({i} - 1))
64+
backoff factor * (2 ** (i - 1))
6565

66-
e.g. for backoff_factor is 5 seconds, it will generate wait intervals: 2.5, 5, 20, ...
66+
e.g. for backoff_factor is 5 seconds, it will generate wait intervals: 2.5, 5, 10, ...
6767

6868
to disable the retry: set total = 0
6969

0 commit comments

Comments
 (0)