mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Change max restart strategy of ejabberd_odbc_sup to handle some SQL timeouts.
This commit is contained in:
parent
e84d853bc3
commit
6ce29e7ecb
@ -89,7 +89,7 @@ init([Host]) ->
|
|||||||
?DEFAULT_ODBC_START_INTERVAL]),
|
?DEFAULT_ODBC_START_INTERVAL]),
|
||||||
?DEFAULT_ODBC_START_INTERVAL
|
?DEFAULT_ODBC_START_INTERVAL
|
||||||
end,
|
end,
|
||||||
{ok, {{one_for_one, PoolSize+1, StartInterval},
|
{ok, {{one_for_one, PoolSize*2, 1},
|
||||||
lists:map(
|
lists:map(
|
||||||
fun(I) ->
|
fun(I) ->
|
||||||
{I,
|
{I,
|
||||||
|
Loading…
Reference in New Issue
Block a user