Merge: increase the default timeout used for downloading filters updates #643

* commit 'c78cee339628c8f91a1c698e731c25d99dec8c8b':
  * control: increase http.Client timeout to 5 minutes
  * control: increase the default timeout used for downloading filters updates
This commit is contained in:
Alexey Dmitrievskiy 2019-04-16 18:40:44 +03:00
commit afeadbb454
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,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.Second * 30, Timeout: time.Minute * 5,
} }
var controlLock sync.Mutex var controlLock sync.Mutex