25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Change time unit of hibernation_timeout option to 'second'

This is done for the sake of consistency with other options
This commit is contained in:
Evgeny Khramtsov 2019-07-16 23:42:38 +03:00
parent 15b4b3fa1b
commit 554f4fc851

View File

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