Skip to content

Commit

Permalink
chore: update cosmosdirectory timeout to 2s
Browse files Browse the repository at this point in the history
  • Loading branch information
albttx committed Nov 3, 2023
1 parent f4221ae commit ee6fe6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cosmosdirectory/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const CosmosDirectoryURL = "https://chains.cosmos.directory"

func query() (*CosmosDirectory, error) {
httpClient := &http.Client{Timeout: 2 * time.Second}
httpClient := &http.Client{Timeout: 5 * time.Second}
r, err := httpClient.Get(CosmosDirectoryURL)
if err != nil {
return nil, err
Expand Down

0 comments on commit ee6fe6d

Please sign in to comment.