From 850e856e6ea6164cc4bcc2bbecbefe5e3edc62a0 Mon Sep 17 00:00:00 2001 From: Aleksey Dmitrevskiy Date: Mon, 1 Apr 2019 11:30:26 +0300 Subject: [PATCH 1/2] * control: increase the default timeout used for downloading filters updates --- control.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control.go b/control.go index 9a0e7fa0..52fe4d26 100644 --- a/control.go +++ b/control.go @@ -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 From c78cee339628c8f91a1c698e731c25d99dec8c8b Mon Sep 17 00:00:00 2001 From: Aleksey Dmitrevskiy Date: Thu, 4 Apr 2019 11:04:14 +0300 Subject: [PATCH 2/2] * control: increase http.Client timeout to 5 minutes --- control.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control.go b/control.go index 52fe4d26..181f7a53 100644 --- a/control.go +++ b/control.go @@ -35,7 +35,7 @@ const versionCheckURL = "https://adguardteam.github.io/AdGuardHome/version.json" const versionCheckPeriod = time.Hour * 8 var client = &http.Client{ - Timeout: time.Minute, + Timeout: time.Minute * 5, } var controlLock sync.Mutex