Skip to content

Fix default retry limit description #1131

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bennycode
Copy link

Changes

The RetryConfiguration interface previously mentioned a default of 3 retries for failing requests, while the maxRetries property description stated a default of 5, creating a mismatch. To simplify maintenance, I removed the default value note from the interface so that the single source of truth is the maxRetries description.

I also corrected the maxRetries default value in its description to 3 (not 5), aligning it with the DEFAULT_NUMBER_RETRIES constant: https://github.com/auth0/node-auth0/blob/v4.26.0/src/lib/retry.ts#L3

@bennycode bennycode requested a review from a team as a code owner June 26, 2025 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant