25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Fix default value of resume_timeout

This commit is contained in:
Evgeny Khramtsov 2019-07-25 13:57:43 +03:00
parent 3b18e7cc00
commit a54694684d

View File

@ -826,7 +826,7 @@ mod_opt_type(queue_type) ->
mod_options(Host) -> mod_options(Host) ->
[{max_ack_queue, 5000}, [{max_ack_queue, 5000},
{resume_timeout, 300}, {resume_timeout, timer:seconds(300)},
{max_resume_timeout, undefined}, {max_resume_timeout, undefined},
{ack_timeout, timer:seconds(60)}, {ack_timeout, timer:seconds(60)},
{cache_size, ejabberd_option:cache_size(Host)}, {cache_size, ejabberd_option:cache_size(Host)},