go icon indicating copy to clipboard operation
go copied to clipboard

Extend HTTP timeouts for getting the full key backup

Open bradtgmurray opened this issue 10 months ago • 2 comments

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

bradtgmurray avatar Mar 09 '25 22:03 bradtgmurray

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

tulir avatar Mar 09 '25 22:03 tulir

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...

bradtgmurray avatar Mar 10 '25 13:03 bradtgmurray