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

Retry: return only last error #431

Merged
merged 1 commit into from
Jun 20, 2023
Merged

Retry: return only last error #431

merged 1 commit into from
Jun 20, 2023

Conversation

LionelJouin
Copy link
Member

Description

Using the retry pkg, if the retry iterates many times (maybe infinitly), the errFinal will increase and will consume more and more memory. For now, only the latest error will then be returned.

Issue link

/

Checklist

  • Purpose
    • Bug fix
    • New functionality
    • Documentation
    • Refactoring
    • CI
  • Test
    • Unit test
    • E2E Test
    • Tested manually
  • Introduce a breaking change
    • Yes (description required)
    • No

Using the retry pkg, if the retry iterates many times (maybe infinitly), the errFinal will
increase and will consume more and more memory. For now, only the latest
error will then be returned.
@LionelJouin LionelJouin added kind/bug Something isn't working size/S labels Jun 19, 2023
@LionelJouin LionelJouin requested a review from zolug June 19, 2023 16:16
@LionelJouin LionelJouin merged commit 83272b5 into master Jun 20, 2023
@LionelJouin LionelJouin deleted the retry-fix-error branch June 20, 2023 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working size/S
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants