Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use exponential backoff for task retry policy #1404

Merged
merged 1 commit into from
May 24, 2024

Conversation

ruojunm
Copy link
Collaborator

@ruojunm ruojunm commented May 22, 2024

Description

fix: use exponential backoff for task retry policy

Rationale

We will avoid too many task retry execution, we use a exponential backoff policy

Example

N/A

Changes

Create 3 maps to store the backoff data for the following 3 retry task types

  • replicateTask
  • sealTask
  • rejectUnsealTask

Potential Impacts

N/A

@ruojunm ruojunm changed the base branch from master to develop May 22, 2024 09:32
@ruojunm ruojunm marked this pull request as ready for review May 22, 2024 09:35
@ruojunm ruojunm merged commit 6128fdb into develop May 24, 2024
12 checks passed
@ruojunm ruojunm deleted the retry-backoff-policy branch May 24, 2024 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants