From 554f4fc85152648f58deab3d71d364823fbd090d Mon Sep 17 00:00:00 2001 From: Evgeny Khramtsov Date: Tue, 16 Jul 2019 23:42:38 +0300 Subject: [PATCH] Change time unit of hibernation_timeout option to 'second' This is done for the sake of consistency with other options --- src/mod_muc.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_muc.erl b/src/mod_muc.erl index a553618f3..f75981736 100644 --- a/src/mod_muc.erl +++ b/src/mod_muc.erl @@ -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}, -- 2.50.1