Skip to content

Commit

Permalink
Merge pull request #6 from StatusCakeDev/fix-pagespeed-default-check-…
Browse files Browse the repository at this point in the history
…interval

fix(pagespeed): decrease default check interval
  • Loading branch information
tomasbasham authored Oct 20, 2023
2 parents 1c1319b + b5c4404 commit 05bf671
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ No modules.
| `pagespeed_config.alert_bigger` | An alert will be sent if the size of the page is larger than this value (kb) | `number` | `0` | no |
| `pagespeed_config.alert_slower` | An alert will be sent if the load time of the page exceeds this value (ms) | `number` | `0` | no |
| `pagespeed_config.alert_smaller` | An alert will be sent if the size of the page is smaller than this value (kb) | `number` | `0` | no |
| `pagespeed_config.check_interval` | The number of seconds between pagespeed checks | `number` | `1800` | no |
| `pagespeed_config.check_interval` | The number of seconds between pagespeed checks | `number` | `86400` | no |
| `pagespeed_config.region` | The region on which to run checks | `string` | `UK` | no |
| `paused` | Wheather the checks shoudl be run | `bool` | `false` | no |
| `ssl_config` | Configuration for the SSL check | `object{...}` | `{}` | no |
Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ Configuration for the pagespeed check.
(Optional) alert_bigger - An alert will be sent if the size of the page is larger than this value (kb). Disabled by default.
(Optional) alert_slower - An alert will be sent if the load time of the page exceeds this value (ms). Disabled by default.
(Optional) alert_smaller - An alert will be sent if the size of the page is smaller than this value (kb). Disabled by default.
(Optional) check_interval - The number of seconds between pagespeed checks. Default value is 1800.
(Optional) check_interval - The number of seconds between pagespeed checks. Default value is 86400.
(Optional) region - The region on which to run checks. Default value is `UK`.
EOF
type = object({
alert_bigger = optional(number, 0)
alert_slower = optional(number, 0)
alert_smaller = optional(number, 0)
check_interval = optional(number, 1800)
check_interval = optional(number, 86400)
region = optional(string, "UK")
})
default = {}
Expand Down

0 comments on commit 05bf671

Please sign in to comment.