diff --git a/src/odbc/ejabberd_odbc_sup.erl b/src/odbc/ejabberd_odbc_sup.erl index 8fb6e2552..40d2223a3 100644 --- a/src/odbc/ejabberd_odbc_sup.erl +++ b/src/odbc/ejabberd_odbc_sup.erl @@ -88,7 +88,7 @@ init([Host]) -> ?DEFAULT_ODBC_START_INTERVAL]), ?DEFAULT_ODBC_START_INTERVAL end, - {ok, {{one_for_one, PoolSize+1, StartInterval}, + {ok, {{one_for_one, PoolSize*2, 1}, lists:map( fun(I) -> {I,