From 9710bb838523fc94d668e5bd4fab384da06e2270 Mon Sep 17 00:00:00 2001 From: Ryan Schneider Date: Fri, 27 Jul 2018 14:33:21 -0700 Subject: [PATCH] rpc: Update HTTP Server Read and Write Timeouts to 30s. --- rpc/http.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/http.go b/rpc/http.go index c53c1ce0dd..eee8a32201 100644 --- a/rpc/http.go +++ b/rpc/http.go @@ -91,8 +91,8 @@ type HTTPTimeouts struct { } var DefaultHTTPTimeouts = HTTPTimeouts{ - ReadTimeout: 5 * time.Second, - WriteTimeout: 10 * time.Second, + ReadTimeout: 30 * time.Second, + WriteTimeout: 30 * time.Second, IdleTimeout: 120 * time.Second, }