Skip to content

Extend HTTP timeouts for getting the full key backup #360

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 1 commit into
base: main
Choose a base branch
from

Conversation

bradtgmurray
Copy link
Contributor

The default is 30 seconds, and this is way too short for users with large key backups.

@bradtgmurray bradtgmurray requested a review from tulir March 9, 2025 22:24
@tulir
Copy link
Member

tulir commented Mar 9, 2025

The default is 180 seconds though 🤔 https://github.com/mautrix/go/blob/main/client.go#L2525

Creating new http clients like that is bad since the connection pool is stored in the transport

@bradtgmurray
Copy link
Contributor Author

The default is 180 seconds though 🤔 https://github.com/mautrix/go/blob/main/client.go#L2525

Hrm, maybe we just have to increase the header timeout as well? A little funky to do it across the board though...

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.

2 participants