From b5c4404ad50f781f65aa84de57bc7580a65677c5 Mon Sep 17 00:00:00 2001 From: Tomas Basham Date: Fri, 20 Oct 2023 14:14:39 +0000 Subject: [PATCH] fix(pagespeed): decrease default check interval --- README.md | 2 +- variables.tf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8290143..3722418 100644 --- a/README.md +++ b/README.md @@ -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 | diff --git a/variables.tf b/variables.tf index 87d623c..ee13103 100644 --- a/variables.tf +++ b/variables.tf @@ -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 = {}