Skip to content

Commit 05bf671

Browse files
authored
Merge pull request #6 from StatusCakeDev/fix-pagespeed-default-check-interval
fix(pagespeed): decrease default check interval
2 parents 1c1319b + b5c4404 commit 05bf671

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ No modules.
6767
| `pagespeed_config.alert_bigger` | An alert will be sent if the size of the page is larger than this value (kb) | `number` | `0` | no |
6868
| `pagespeed_config.alert_slower` | An alert will be sent if the load time of the page exceeds this value (ms) | `number` | `0` | no |
6969
| `pagespeed_config.alert_smaller` | An alert will be sent if the size of the page is smaller than this value (kb) | `number` | `0` | no |
70-
| `pagespeed_config.check_interval` | The number of seconds between pagespeed checks | `number` | `1800` | no |
70+
| `pagespeed_config.check_interval` | The number of seconds between pagespeed checks | `number` | `86400` | no |
7171
| `pagespeed_config.region` | The region on which to run checks | `string` | `UK` | no |
7272
| `paused` | Wheather the checks shoudl be run | `bool` | `false` | no |
7373
| `ssl_config` | Configuration for the SSL check | `object{...}` | `{}` | no |

variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ Configuration for the pagespeed check.
1616
(Optional) alert_bigger - An alert will be sent if the size of the page is larger than this value (kb). Disabled by default.
1717
(Optional) alert_slower - An alert will be sent if the load time of the page exceeds this value (ms). Disabled by default.
1818
(Optional) alert_smaller - An alert will be sent if the size of the page is smaller than this value (kb). Disabled by default.
19-
(Optional) check_interval - The number of seconds between pagespeed checks. Default value is 1800.
19+
(Optional) check_interval - The number of seconds between pagespeed checks. Default value is 86400.
2020
(Optional) region - The region on which to run checks. Default value is `UK`.
2121
EOF
2222
type = object({
2323
alert_bigger = optional(number, 0)
2424
alert_slower = optional(number, 0)
2525
alert_smaller = optional(number, 0)
26-
check_interval = optional(number, 1800)
26+
check_interval = optional(number, 86400)
2727
region = optional(string, "UK")
2828
})
2929
default = {}

0 commit comments

Comments
 (0)