Commit 89816bf
authored
Slow down retries so we keep retrying for more than 10 seconds. (#696)
= What was changed
* Increase backoff factor to 1.7 (from 1.5) for non-poll RPCs
= Why?
The current backoff factor causes clients using the Core SDK to exhaust their retries within 6.011 to 8.966 seconds, depending on random jitter. We want to ensure that all clients keep retrying for at least 10 seconds. With the new backoff factor, retries will not be exhausted until 11.878 to 17.767 seconds after the initial failure.
This advances progress on temporalio/features#27 (aka SDK-118 in internal Jira).1 parent 6ad5da2 commit 89816bf
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
0 commit comments