]> granicus.if.org Git - ejabberd/commitdiff
Fix default value of resume_timeout
authorEvgeny Khramtsov <ekhramtsov@process-one.net>
Thu, 25 Jul 2019 10:57:43 +0000 (13:57 +0300)
committerEvgeny Khramtsov <ekhramtsov@process-one.net>
Thu, 25 Jul 2019 10:57:43 +0000 (13:57 +0300)
src/mod_stream_mgmt.erl

index f03c8c7354e45c61b6790aa2979b5f1e5e8b61d3..829c07e1a2fea5ebb79a83f71b9eab520d23342c 100644 (file)
@@ -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)},