From 222b8103d635ddfafd29ac93ea110c3d851a3112 Mon Sep 17 00:00:00 2001 From: adripo <26493496+adripo@users.noreply.github.com> Date: Sat, 5 Nov 2022 04:14:44 +0100 Subject: [PATCH] fix: increase timeout --- collector/pkg/collector/base.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/pkg/collector/base.go b/collector/pkg/collector/base.go index 3d4bdc9..38ba51d 100644 --- a/collector/pkg/collector/base.go +++ b/collector/pkg/collector/base.go @@ -8,7 +8,7 @@ import ( "time" ) -var httpClient = &http.Client{Timeout: 10 * time.Second} +var httpClient = &http.Client{Timeout: 60 * time.Second} type BaseCollector struct { logger *logrus.Entry