aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_sup.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-10-28 18:09:09 +0200
committerLoïc Hoguin <[email protected]>2011-10-28 18:09:09 +0200
commitd9da5334d251c95273fd20475f18d19fd3eb37ef (patch)
treefd81bf79c0eff2fd31f7c2d30ee20ab8f185dcc6 /src/cowboy_sup.erl
parent4cd825923f6045500841715413b46efc2ca26d82 (diff)
parent1af77d45e3452130742bde5be1c5271bfd80cfbf (diff)
downloadcowboy-d9da5334d251c95273fd20475f18d19fd3eb37ef.tar.gz
cowboy-d9da5334d251c95273fd20475f18d19fd3eb37ef.tar.bz2
cowboy-d9da5334d251c95273fd20475f18d19fd3eb37ef.zip
Merge branch 'supervisor-relup-fix' of https://github.com/smarkets/cowboy
Diffstat (limited to 'src/cowboy_sup.erl')
-rw-r--r--src/cowboy_sup.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_sup.erl b/src/cowboy_sup.erl
index 9c52486..34591bc 100644
--- a/src/cowboy_sup.erl
+++ b/src/cowboy_sup.erl
@@ -32,5 +32,5 @@ start_link() ->
-spec init([]) -> {ok, {{one_for_one, 10, 10}, [{_, _, _, _, _, _}, ...]}}.
init([]) ->
Procs = [{cowboy_clock, {cowboy_clock, start_link, []},
- permanent, 5000, worker, dynamic}],
+ permanent, 5000, worker, [cowboy_clock]}],
{ok, {{one_for_one, 10, 10}, Procs}}.