Skip to content

Commit

Permalink
Merge pull request #156 from anchore/bump-default-http-timeout
Browse files Browse the repository at this point in the history
feat: bump the default http timeout
  • Loading branch information
bradleyjones authored Feb 23, 2024
2 parents 42aabfd + e501132 commit ff41274
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ var DefaultConfigValues = AppConfig{
Account: "admin",
HTTP: connection.HTTPConfig{
Insecure: false,
TimeoutSeconds: 10,
TimeoutSeconds: 60,
},
},
Region: "",
Expand Down
2 changes: 1 addition & 1 deletion internal/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func TestDefaultValuesSuppliedForEmptyConfig(t *testing.T) {
Password: "",
HTTP: connection.HTTPConfig{
Insecure: false,
TimeoutSeconds: 10,
TimeoutSeconds: 60,
},
},
}
Expand Down
2 changes: 1 addition & 1 deletion internal/config/testdata/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ anchore:
account: admin
http:
insecure: false
timeout: 10
timeout-seconds: 10

region: "us-east-1"

Expand Down

0 comments on commit ff41274

Please sign in to comment.