From 81f4dd0e6aa0dc2669b7148d335aa2735f28bf5d Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 19 Jun 2018 22:26:08 +0200 Subject: [PATCH] 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. --- src/mod_push_keepalive.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_push_keepalive.erl b/src/mod_push_keepalive.erl index 5dc6a20b9..779fd0006 100644 --- a/src/mod_push_keepalive.erl +++ b/src/mod_push_keepalive.erl @@ -86,7 +86,7 @@ mod_opt_type(wake_on_timeout) -> fun (B) when is_boolean(B) -> B end. mod_options(_Host) -> - [{resume_timeout, 86400}, + [{resume_timeout, 259200}, {wake_on_start, false}, {wake_on_timeout, true}].