Skip to content

Commit

Permalink
[Closes #77] Modified default value to 30 seconds.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfacorro committed Oct 17, 2014
1 parent de4949d commit 98d6783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sumo_repo.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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]}}
Expand Down

0 comments on commit 98d6783

Please sign in to comment.