Software /
code /
prosody-modules
Changeset
5053:00e8cc6860cb
mod_cloud_notify: Fix default extended timeout from 72 days -> 72 hours
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 23 Sep 2022 22:40:54 +0100 |
parents | 5052:d7ece68de066 |
children | 5054:62480053c87b |
files | mod_cloud_notify/mod_cloud_notify.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_cloud_notify/mod_cloud_notify.lua Fri Sep 23 22:39:49 2022 +0100 +++ b/mod_cloud_notify/mod_cloud_notify.lua Fri Sep 23 22:40:54 2022 +0100 @@ -21,7 +21,7 @@ local max_push_errors = module:get_option_number("push_max_errors", 16); local max_push_devices = module:get_option_number("push_max_devices", 5); local dummy_body = module:get_option_string("push_notification_important_body", "New Message!"); -local extended_hibernation_timeout = module:get_option_number("push_max_hibernation_timeout", 72*24*3600); -- use same timeout like ejabberd +local extended_hibernation_timeout = module:get_option_number("push_max_hibernation_timeout", 72*3600); -- use same timeout like ejabberd local host_sessions = prosody.hosts[module.host].sessions; local push_errors = module:shared("push_errors");