launchdarkly / ld-find-code-refs

Build tool for automatically sending feature flag code references to LaunchDarkly
https://launchdarkly.com
Other
46 stars 34 forks source link

Switch to use jitter with min/max #211

Closed InTheCloudDan closed 2 years ago

InTheCloudDan commented 2 years ago

The current retries, try with a timed exponential backoff. If a branch has multiple commits that finish at roughly the same time this will cause them to all POST at the same time and if it errors to keep retrying in sync. This will cause them to have more variation between attempts. We still perform server side validation that the highest sync time is what is used.

shortcut-integration[bot] commented 2 years ago

This pull request has been linked to Shortcut Story #137840: Implement jitter in ld-find-code-refs.