monarchmoney / mint-export-extension

Effortlessly export your Mint data to CSV.
MIT License
36 stars 3 forks source link

Count retried requests toward progress only once #49

Closed idpaterson closed 8 months ago

idpaterson commented 8 months ago

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.