Increase Mojang's API response timeout

This commit is contained in:
ErickSkrauch
2021-03-03 01:23:34 +01:00
parent 1e3307dcbe
commit 26042037b6
2 changed files with 2 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ import (
)
var HttpClient = &http.Client{
Timeout: 3 * time.Second,
Timeout: 10 * time.Second,
Transport: &http.Transport{
MaxIdleConnsPerHost: 1024,
},