* control: increase http.Client timeout to 5 minutes
This commit is contained in:
parent
850e856e6e
commit
c78cee3396
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue