Skip to content
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

Add retry handling for .login() method #53

Closed
bltravis opened this issue Apr 17, 2024 · 0 comments · Fixed by #54
Closed

Add retry handling for .login() method #53

bltravis opened this issue Apr 17, 2024 · 0 comments · Fixed by #54
Labels
enhancement New feature or request

Comments

@bltravis
Copy link
Contributor

When using a FolioClient instance to manage auth tokens for a long-running script, temporary server errors (502, 503, 504) can cause an exception. It should be possible for FolioClient to support (optional) retries of the authn flow. The number of retries, the backoff factor, and the initial retry delay should all be configurable (by environment variables).

@bltravis bltravis added the enhancement New feature or request label Apr 17, 2024
@bltravis bltravis linked a pull request Apr 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant