From be5091083b723c0bcd9173b3f0ebba15cb64248c Mon Sep 17 00:00:00 2001 From: Sumeet Rai Date: Mon, 26 Feb 2024 16:21:04 +0530 Subject: [PATCH] increased es default request timeout to 30s --- internal/store/elasticsearch/es.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/store/elasticsearch/es.go b/internal/store/elasticsearch/es.go index 5014d905..95a21f0d 100644 --- a/internal/store/elasticsearch/es.go +++ b/internal/store/elasticsearch/es.go @@ -28,7 +28,7 @@ const ( type Config struct { Brokers string `mapstructure:"brokers" default:"http://localhost:9200"` - RequestTimeout time.Duration `mapstructure:"request_timeout" default:"10s"` + RequestTimeout time.Duration `mapstructure:"request_timeout" default:"30s"` } type searchHit struct {