Diff

mod_cloud_notify/mod_cloud_notify.lua @ 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
parent 5052:d7ece68de066
child 5057:c728e82265a7
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");