aboutsummaryrefslogtreecommitdiff
path: root/src/mod_push_keepalive.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_push_keepalive.erl')
-rw-r--r--src/mod_push_keepalive.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mod_push_keepalive.erl b/src/mod_push_keepalive.erl
index 83b89ff50..e0e83f1e1 100644
--- a/src/mod_push_keepalive.erl
+++ b/src/mod_push_keepalive.erl
@@ -87,20 +87,20 @@ mod_opt_type(wake_on_timeout) ->
econf:bool().
mod_options(_Host) ->
- [{resume_timeout, timer:seconds(259200)},
+ [{resume_timeout, timer:hours(72)},
{wake_on_start, false},
{wake_on_timeout, true}].
mod_doc() ->
#{desc =>
[?T("This module tries to keep the stream management "
- "session (see 'mod_stream_mgmt') of a disconnected "
+ "session (see _`mod_stream_mgmt`_) of a disconnected "
"mobile client alive if the client enabled push "
"notifications for that session. However, the normal "
"session resumption timeout is restored once a push "
"notification is issued, so the session will be closed "
"if the client doesn't respond to push notifications."), "",
- ?T("The module depends on 'mod_push'.")],
+ ?T("The module depends on _`mod_push`_.")],
opts =>
[{resume_timeout,
#{value => "timeout()",
@@ -109,9 +109,9 @@ mod_doc() ->
"the session of a disconnected push client times out. "
"This timeout is only in effect as long as no push "
"notification is issued. Once that happened, the "
- "resumption timeout configured for the 'mod_stream_mgmt' "
- "module is restored. "
- "The default value is '72' minutes.")}},
+ "resumption timeout configured for _`mod_stream_mgmt`_ "
+ "is restored. "
+ "The default value is '72' hours.")}},
{wake_on_start,
#{value => "true | false",
desc =>