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:
commit
afeadbb454
|
@ -36,7 +36,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 * 5,
|
||||
}
|
||||
|
||||
var controlLock sync.Mutex
|
||||
|
|
Loading…
Reference in New Issue