From b8295b4d855cfce9a324ba49bfcf4c1929ca7755 Mon Sep 17 00:00:00 2001 From: Andrei Ozerov Date: Tue, 11 Dec 2018 13:33:04 +0300 Subject: [PATCH] SelVPC HTTP client: set higher defaultHTTPTimeout (#105) Use 40 second for the defaultHTTPTimeout constant. --- selvpcclient/selvpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selvpcclient/selvpc.go b/selvpcclient/selvpc.go index c765a89..f16f04c 100644 --- a/selvpcclient/selvpc.go +++ b/selvpcclient/selvpc.go @@ -32,7 +32,7 @@ const ( // defaultHTTPTimeout represents default timeout (in seconds) for HTTP // requests. - defaultHTTPTimeout = 10 + defaultHTTPTimeout = 40 // defaultDialTimeout represents default timeout (in seconds) for HTTP // connection establishments.