Skip to content

Commit

Permalink
chore: reduce timeout to 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
freak12techno committed Jul 24, 2023
1 parent 7bf60a8 commit 845074e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tendermint/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ func (rpc *RPC) GetFull(
queryType constants.QueryType,
target interface{},
) error {
client := &http.Client{Timeout: 60 * 1000000000}
client := &http.Client{Timeout: 10 * 1000000000}

Check warning on line 337 in pkg/tendermint/http.go

View check run for this annotation

Codecov / codecov/patch

pkg/tendermint/http.go#L337

Added line #L337 was not covered by tests
start := time.Now()

fullURL := host + url
Expand Down

0 comments on commit 845074e

Please sign in to comment.