Skip to content

Commit

Permalink
fix: update the default timeout value for healthcheck consistency wit…
Browse files Browse the repository at this point in the history
…h Fastly App (UI) (#827)
  • Loading branch information
remore authored Apr 8, 2024
1 parent 3ad62a6 commit af30139
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/resources/service_vcl.md
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ Optional:
- `initial` (Number) When loading a config, the initial number of probes to be seen as OK. Default `3`
- `method` (String) Which HTTP method to use. Default `HEAD`
- `threshold` (Number) How many Healthchecks must succeed to be considered healthy. Default `3`
- `timeout` (Number) Timeout in milliseconds. Default `500`
- `timeout` (Number) Timeout in milliseconds. Default `5000`
- `window` (Number) The number of most recent Healthcheck queries to keep for this Healthcheck. Default `5`


Expand Down
4 changes: 2 additions & 2 deletions fastly/block_fastly_service_healthcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ func (h *HealthCheckServiceAttributeHandler) GetSchema() *schema.Schema {
"timeout": {
Type: schema.TypeInt,
Optional: true,
Default: 500,
Description: "Timeout in milliseconds. Default `500`",
Default: 5000,
Description: "Timeout in milliseconds. Default `5000`",
},
"window": {
Type: schema.TypeInt,
Expand Down

0 comments on commit af30139

Please sign in to comment.