From 98d6783869423c8bd51922df64ac343dec9fd5ff Mon Sep 17 00:00:00 2001 From: Juan Facorro Date: Fri, 17 Oct 2014 11:53:19 -0300 Subject: [PATCH] [Closes #77] Modified default value to 30 seconds. --- src/sumo_repo.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sumo_repo.erl b/src/sumo_repo.erl index 08d6371..6770c38 100644 --- a/src/sumo_repo.erl +++ b/src/sumo_repo.erl @@ -86,7 +86,7 @@ start_link(Name, Module, Options) -> Poolsize = proplists:get_value(workers, Options, 100), WPoolConfigOpts = application:get_env(sumo_db, wpool_opts, []), - WPoolOptions = [ {overrun_warning, infinity} + WPoolOptions = [ {overrun_warning, 30000} , {overrun_handler, {error_logger, warning_report}} , {workers, Poolsize} , {worker, {?MODULE, [Module, Options]}}