Mercurial > prosody-modules
changeset 2229:2a7e9d9e7339
mod_http_host_status_check: Bump default timeout threshold to 10s (from 5s). Heartbeats default to every 5s.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 02 Jul 2016 16:05:02 +0100 |
parents | 03a4c3209f21 |
children | 42eafc1c61d9 |
files | mod_http_host_status_check/mod_http_host_status_check.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_http_host_status_check/mod_http_host_status_check.lua Sat Jul 02 16:04:35 2016 +0100 +++ b/mod_http_host_status_check/mod_http_host_status_check.lua Sat Jul 02 16:05:02 2016 +0100 @@ -7,7 +7,7 @@ module:depends "http" -local threshold = module:get_option_number("status_check_heartbeat_threshold", 5); +local threshold = module:get_option_number("status_check_heartbeat_threshold", 10); local function status_string(status, duration, comment) local string_timestamp;