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

Configurable timeouts, background discovery #880

Merged
merged 2 commits into from
May 12, 2024
Merged

Conversation

stephank
Copy link
Member

@stephank stephank commented May 8, 2024

This brings back background discovery, so that even if we hit the timeout, we can continue the HTTP requests and warm cache, in case the user performs another login later.

This also makes all of the timeouts configurable, and specifically adds timeouts to the HTTP client. It looks like there was no timeout by default, or maybe cancelling the future was an issue, but we were seeing "2 minute" response times for some webfinger requests, presumably some OS timeout.

@stephank stephank force-pushed the feat/auth-context branch 2 times, most recently from 39ebd26 to 2347001 Compare May 8, 2024 19:21
@stephank stephank merged commit fb1b978 into main May 12, 2024
4 checks passed
@stephank stephank deleted the feat/auth-context branch May 12, 2024 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant