Permalink
Browse files

Change example supervisor strategy to one_for_one

  • Loading branch information...
1 parent b010d10 commit 9c385e0b59f48dd2b2eedc697325562379ea74f1 Devin Torres committed Nov 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -72,7 +72,7 @@ init([]) ->
{PoolName, {poolboy, start_link, [Args]},
permanent, 5000, worker, [poolboy]}
end, Pools),
- {ok, {{one_for_all, 10, 10}, PoolSpecs}}.
+ {ok, {{one_for_one, 10, 10}, PoolSpecs}}.
squery(PoolName, Sql) ->
Worker = poolboy:checkout(PoolName),

0 comments on commit 9c385e0

Please sign in to comment.