Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Count retried requests toward progress only once #49

Conversation

idpaterson
Copy link
Contributor

When the Mint API is struggling, requests may fail and need to be retried. Previously when this occurred the progress bar reflected each retry as a completed request and progress could exceed 100%. This change moves the progress tracking outside of withRetry() so that each request is counted only once even if it has to be issued several times before succeeding or reaching the max retry limit.

@oaosman84 oaosman84 merged commit 6e401e6 into monarchmoney:main Dec 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants