* control: increase the default timeout used for downloading filters updates

This commit is contained in:
Aleksey Dmitrevskiy 2019-04-01 11:30:26 +03:00
parent d6b83d4a63
commit 850e856e6e
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
var client = &http.Client{
Timeout: time.Second * 30,
Timeout: time.Minute,
}
var controlLock sync.Mutex