]> granicus.if.org Git - ejabberd/commitdiff
Change time unit of hibernation_timeout option to 'second'
authorEvgeny Khramtsov <ekhramtsov@process-one.net>
Tue, 16 Jul 2019 20:42:38 +0000 (23:42 +0300)
committerEvgeny Khramtsov <ekhramtsov@process-one.net>
Tue, 16 Jul 2019 20:42:38 +0000 (23:42 +0300)
This is done for the sake of consistency with other options

src/mod_muc.erl

index a553618f3999e4e8839d36fa7a800194ff025792..f75981736151909cf6f5add190aee7aa4ce5d3bb 100644 (file)
@@ -1182,7 +1182,7 @@ mod_opt_type(hosts) ->
 mod_opt_type(queue_type) ->
     econf:queue_type();
 mod_opt_type(hibernation_timeout) ->
-    econf:timeout(minute, infinity).
+    econf:timeout(second, infinity).
 
 mod_options(Host) ->
     [{access, all},