Please sign in to comment.
made the behaviour match the name of the maxRetries options
maxRetries should mean the number of request to try _after_ the initial attempt fails. So attemptsLeft should be maxRetries + 1 to account for the first attempt. Before this change the total number of attempts made was maxRetries, one less than expected.
- Loading branch information...