temporalio / sdk-core

Core Temporal SDK that can be used as a base for language specific Temporal SDKs
MIT License
262 stars 70 forks source link

Slow down retries so we keep retrying for more than 10 seconds. #696

Closed chronos-tachyon closed 6 months ago

chronos-tachyon commented 6 months ago

What was changed

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 https://github.com/temporalio/features/issues/27 (aka SDK-118 in internal Jira).