mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-24 22:25:47 +02:00
Merge pull request #324 from liudanking/master
fix odbc_keepalive_interval configuration bug
This commit is contained in:
commit
c7d9b46b6f
|
@ -204,7 +204,7 @@ decode_term(Bin) ->
|
|||
%%%----------------------------------------------------------------------
|
||||
init([Host, StartInterval]) ->
|
||||
case ejabberd_config:get_option(
|
||||
{keepalive_interval, Host},
|
||||
{odbc_keepalive_interval, Host},
|
||||
fun(I) when is_integer(I), I>0 -> I end) of
|
||||
undefined ->
|
||||
ok;
|
||||
|
|
Loading…
Reference in New Issue
Block a user