mirror of
https://github.com/elyby/chrly.git
synced 2025-05-31 14:11:51 +05:30
Increase Mojang's API response timeout
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
)
|
||||
|
||||
var HttpClient = &http.Client{
|
||||
Timeout: 3 * time.Second,
|
||||
Timeout: 10 * time.Second,
|
||||
Transport: &http.Transport{
|
||||
MaxIdleConnsPerHost: 1024,
|
||||
},
|
||||
|
Reference in New Issue
Block a user