aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_sup.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_sup.erl')
-rw-r--r--src/cowboy_sup.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cowboy_sup.erl b/src/cowboy_sup.erl
index 278df54..13977e7 100644
--- a/src/cowboy_sup.erl
+++ b/src/cowboy_sup.erl
@@ -22,13 +22,13 @@
%% API.
--spec start_link() -> {ok, Pid::pid()}.
+-spec start_link() -> {ok, pid()}.
start_link() ->
supervisor:start_link({local, ?SUPERVISOR}, ?MODULE, []).
%% supervisor.
--spec init([]) -> term(). %% @todo These specs should be improved.
+-spec init([]) -> {ok, {{one_for_one, 10, 10}, [{_, _, _, _, _, _}, ...]}}.
init([]) ->
Procs = [{cowboy_clock, {cowboy_clock, start_link, []},
permanent, 5000, worker, dynamic}],