* control: increase the default timeout used for downloading filters updates
This commit is contained in:
parent
d6b83d4a63
commit
850e856e6e
|
@ -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.Second * 30,
|
Timeout: time.Minute,
|
||||||
}
|
}
|
||||||
|
|
||||||
var controlLock sync.Mutex
|
var controlLock sync.Mutex
|
||||||
|
|
Loading…
Reference in New Issue