25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

mod_push_keepalive: Increase default timeout

Set the default session timeout to three days.  This way, sessions will
survive a weekend without traffic, for example.
This commit is contained in:
Holger Weiss 2018-06-19 22:26:08 +02:00
parent dee3081df1
commit 81f4dd0e6a

View File

@ -86,7 +86,7 @@ mod_opt_type(wake_on_timeout) ->
fun (B) when is_boolean(B) -> B end. fun (B) when is_boolean(B) -> B end.
mod_options(_Host) -> mod_options(_Host) ->
[{resume_timeout, 86400}, [{resume_timeout, 259200},
{wake_on_start, false}, {wake_on_start, false},
{wake_on_timeout, true}]. {wake_on_timeout, true}].