From 189ed62400190691d7ad95e095b6b45d6c1c89b4 Mon Sep 17 00:00:00 2001 From: Dimitry Kh Date: Tue, 3 Dec 2019 15:13:37 +0300 Subject: [PATCH] increase http timeout --- rpc/http.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/http.go b/rpc/http.go index 0de127c808..6d57a67685 100644 --- a/rpc/http.go +++ b/rpc/http.go @@ -99,8 +99,8 @@ type HTTPTimeouts struct { // DefaultHTTPTimeouts represents the default timeout values used if further // configuration is not provided. var DefaultHTTPTimeouts = HTTPTimeouts{ - ReadTimeout: 30 * time.Second, - WriteTimeout: 30 * time.Second, + ReadTimeout: 120 * time.Second, + WriteTimeout: 120 * time.Second, IdleTimeout: 120 * time.Second, }