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.
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.