Skip to content

Commit

Permalink
increased es default request timeout to 30s
Browse files Browse the repository at this point in the history
  • Loading branch information
Sumeet Rai committed Feb 26, 2024
1 parent 4c73dc8 commit be50910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/store/elasticsearch/es.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit be50910

Please sign in to comment.