mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-02 21:17:12 +02:00
fix odbc keepalive interval bug
This commit is contained in:
parent
160c9d7698
commit
d2edcf1288
|
@ -204,7 +204,7 @@ decode_term(Bin) ->
|
||||||
%%%----------------------------------------------------------------------
|
%%%----------------------------------------------------------------------
|
||||||
init([Host, StartInterval]) ->
|
init([Host, StartInterval]) ->
|
||||||
case ejabberd_config:get_option(
|
case ejabberd_config:get_option(
|
||||||
{keepalive_interval, Host},
|
{odbc_keepalive_interval, Host},
|
||||||
fun(I) when is_integer(I), I>0 -> I end) of
|
fun(I) when is_integer(I), I>0 -> I end) of
|
||||||
undefined ->
|
undefined ->
|
||||||
ok;
|
ok;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user