aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_sup.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-08-27 12:46:42 +0200
committerLoïc Hoguin <[email protected]>2012-08-27 12:50:00 +0200
commitcc2e084d456c99b3d71f09c08f516195b6015dae (patch)
tree7fafcb37fe43e06c80032fd52c238f460c93d9ad /src/cowboy_sup.erl
parent10adcdbc7dce733fa300fffdd11ce24ae7c17e38 (diff)
downloadcowboy-cc2e084d456c99b3d71f09c08f516195b6015dae.tar.gz
cowboy-cc2e084d456c99b3d71f09c08f516195b6015dae.tar.bz2
cowboy-cc2e084d456c99b3d71f09c08f516195b6015dae.zip
Update behaviours for R15B+
This effectively drops the R14B compatibility. The cowboy_req:req() type will be introduced in a future commit. It refers to the #http_req{} record.
Diffstat (limited to 'src/cowboy_sup.erl')
-rw-r--r--src/cowboy_sup.erl7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/cowboy_sup.erl b/src/cowboy_sup.erl
index 8ce02f0..00fcc5e 100644
--- a/src/cowboy_sup.erl
+++ b/src/cowboy_sup.erl
@@ -32,13 +32,6 @@ start_link() ->
%% supervisor.
--spec init([]) -> {'ok', {{'one_for_one', 10, 10}, [{
- any(), {atom() | tuple(), atom(), 'undefined' | [any()]},
- 'permanent' | 'temporary' | 'transient',
- 'brutal_kill' | 'infinity' | non_neg_integer(),
- 'supervisor' | 'worker',
- 'dynamic' | [atom() | tuple()]}]
-}}.
init([]) ->
Procs = [{cowboy_clock, {cowboy_clock, start_link, []},
permanent, 5000, worker, [cowboy_clock]}],