diff options
author | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2019-07-25 13:57:43 +0300 |
---|---|---|
committer | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2019-07-25 13:57:43 +0300 |
commit | a54694684d07d0ca93c1bd1ffbe1dcbfc664121a (patch) | |
tree | d6bd05715c814433edc4b434f28b4eb6efaf1b8f /src/mod_stream_mgmt.erl | |
parent | Don't attempt to restart killed lager (diff) |
Fix default value of resume_timeout
Diffstat (limited to 'src/mod_stream_mgmt.erl')
-rw-r--r-- | src/mod_stream_mgmt.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_stream_mgmt.erl b/src/mod_stream_mgmt.erl index f03c8c735..829c07e1a 100644 --- a/src/mod_stream_mgmt.erl +++ b/src/mod_stream_mgmt.erl @@ -826,7 +826,7 @@ mod_opt_type(queue_type) -> mod_options(Host) -> [{max_ack_queue, 5000}, - {resume_timeout, 300}, + {resume_timeout, timer:seconds(300)}, {max_resume_timeout, undefined}, {ack_timeout, timer:seconds(60)}, {cache_size, ejabberd_option:cache_size(Host)}, |