* control: increase http.Client timeout to 5 minutes

This commit is contained in:
Aleksey Dmitrevskiy 2019-04-04 11:04:14 +03:00
parent 850e856e6e
commit c78cee3396
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ const versionCheckURL = "https://adguardteam.github.io/AdGuardHome/version.json"
const versionCheckPeriod = time.Hour * 8 const versionCheckPeriod = time.Hour * 8
var client = &http.Client{ var client = &http.Client{
Timeout: time.Minute, Timeout: time.Minute * 5,
} }
var controlLock sync.Mutex var controlLock sync.Mutex