From 6ce29e7ecbdf8891620928860bb88869f14c0ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=B6hler?= Date: Fri, 17 Sep 2010 16:48:44 +0200 Subject: [PATCH] Change max restart strategy of ejabberd_odbc_sup to handle some SQL timeouts. --- src/odbc/ejabberd_odbc_sup.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/odbc/ejabberd_odbc_sup.erl b/src/odbc/ejabberd_odbc_sup.erl index 54edadc75..ec567910e 100644 --- a/src/odbc/ejabberd_odbc_sup.erl +++ b/src/odbc/ejabberd_odbc_sup.erl @@ -89,7 +89,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,