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

Fix excessive calls to Nexus OAuth validation endpoint #2675

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

AlexDickerson
Copy link
Contributor

We currently are not conditioning the validation of Nexus oauth tokens on anything. As a result we generate a request to validation for every Nexus archive we download.

This is, at least in part, causing users to get a 10 min block from calls to the Nexus API regardless of their remaining rate limit.

This adds a basic check to ensure we only validate the token at most once every 5 mins.

@tr4wzified tr4wzified merged commit a6c4993 into wabbajack-tools:main Jan 8, 2025
3 checks passed
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.

2 participants