aboutsummaryrefslogtreecommitdiffstats
path: root/src/ranch_sup.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ranch_sup.erl')
-rw-r--r--src/ranch_sup.erl14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/ranch_sup.erl b/src/ranch_sup.erl
index 942522d..5551f12 100644
--- a/src/ranch_sup.erl
+++ b/src/ranch_sup.erl
@@ -16,8 +16,11 @@
-module(ranch_sup).
-behaviour(supervisor).
--export([start_link/0]). %% API.
--export([init/1]). %% supervisor.
+%% API.
+-export([start_link/0]).
+
+%% supervisor.
+-export([init/1]).
-define(SUPERVISOR, ?MODULE).
@@ -29,12 +32,5 @@ 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([]) ->
{ok, {{one_for_one, 10, 10}, []}}.