aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2018-06-19 22:26:08 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2018-06-19 22:26:08 +0200
commit81f4dd0e6aa0dc2669b7148d335aa2735f28bf5d (patch)
tree00d166a0d40f16026a1949f4cd89d34112e142b8
parentFix reset_stream in websocket using pre-rfc protocol (diff)
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.
-rw-r--r--src/mod_push_keepalive.erl2
1 files changed, 1 insertions, 1 deletions
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}].