Skip to content

Commit

Permalink
fix(repository): Remove default of http client timeout.
Browse files Browse the repository at this point in the history
parameter timeout can be null

resolves #307
  • Loading branch information
anmoel committed Sep 7, 2022
1 parent ada66a7 commit e227646
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/schema/repository/schema_http_client.go
Expand Up @@ -83,8 +83,7 @@ var (
Description: "Seconds to wait for activity before stopping and retrying the connection",
Optional: true,
Type: schema.TypeInt,
Default: 0,
ValidateFunc: validation.IntBetween(0, 3600),
ValidateFunc: validation.IntBetween(1, 3600),
},
"user_agent_suffix": {
Description: "Custom fragment to append to User-Agent header in HTTP requests",
Expand Down

0 comments on commit e227646

Please sign in to comment.