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

heimdall/client: revert retryBackoff hack left behind #12630

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

taratorio
Copy link
Member

@taratorio taratorio commented Nov 5, 2024

reverts a change from 73476ab#diff-ace6e4f24916671d83adb720ebd0fff8e611f09ed451f334e92e10aeb8591525R489-R491

not sure why this has been done - seems like a weird hack that has been left behind maybe unintentionally - it is definitely unnecessary

main reason for removing is:

  • it entirely circumvents the retryBackoff config of the client and always overrides the value which is wrong
  • it slows down tests a lot - this test should take milliseconds, but after this change it takes a minute
    Screenshot 2024-11-05 at 15 57 08

@taratorio taratorio requested a review from awskii November 5, 2024 16:00
@taratorio taratorio enabled auto-merge (squash) November 5, 2024 16:02
@awskii
Copy link
Member

awskii commented Nov 5, 2024

oh i think i changed that because in my setting queries to heimdall literally flooded whole bandwidth with much of retries per second

@taratorio
Copy link
Member Author

oh i think i changed that because in my setting queries to heimdall literally flooded whole bandwidth with much of retries per second

the default values for the client are max 5 retries, 1 sec backoff - maybe you initialised with different values

@taratorio taratorio merged commit 685f6f0 into main Nov 5, 2024
11 checks passed
@taratorio taratorio deleted the heimdall-client-revert-hack branch November 5, 2024 16:28
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.

2 participants