From 2956bbb1d4d62c984e730074249e5c5835cb74a4 Mon Sep 17 00:00:00 2001 From: Emmanuel Date: Mon, 28 Oct 2024 22:00:27 -0300 Subject: [PATCH] fix: set default read and write timeout for pprof service (#149) --- pkg/zprofiller/zprofiller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/zprofiller/zprofiller.go b/pkg/zprofiller/zprofiller.go index fdfa05c..0b94ca2 100644 --- a/pkg/zprofiller/zprofiller.go +++ b/pkg/zprofiller/zprofiller.go @@ -13,7 +13,7 @@ import ( const ( defaultAddress = ":8888" - defaultTimeOut = 240000 + defaultTimeOut = 300 ) type Config struct {