Merge pull request #2826 from vrc-get/fix-timeout

chore(gui): extend connect/read timeout to 1 min
This commit is contained in:
anatawa12 2026-04-23 09:35:32 +09:00 committed by GitHub
commit 5887c5631c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View file

@ -26,6 +26,8 @@ The format is based on [Keep a Changelog].
- ALCOM now refuses launching project if project is on noexec mount points `#2814`
- This would cause problems with several native plugins
- Already-added packages are now excluded from the package name suggestions in the Template Editor `#2828`
- Extended some timeouts to 1 minute `#2826`
- Prevents timeouts in slow DNS environments
### Deprecated

View file

@ -21,8 +21,10 @@ pub fn new_http_client() -> reqwest::Client {
env!("CARGO_PKG_HOMEPAGE"),
")"
))
.connect_timeout(std::time::Duration::from_secs(10))
.read_timeout(std::time::Duration::from_secs(10))
// https://github.com/vrc-get/vrc-get/issues/2653
// IDK why but it might take over 10 sec to connect / read
.connect_timeout(std::time::Duration::from_secs(60))
.read_timeout(std::time::Duration::from_secs(60))
.timeout(std::time::Duration::from_secs(10 * 60)) // 10 minutes
.build()
.expect("building client")