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.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ranch_sup.erl b/src/ranch_sup.erl
index 1d100db..64137a2 100644
--- a/src/ranch_sup.erl
+++ b/src/ranch_sup.erl
@@ -22,6 +22,7 @@
start_link() ->
supervisor:start_link({local, ?MODULE}, ?MODULE, []).
+-spec init([]) -> {ok, {supervisor:sup_flags(), [supervisor:child_spec()]}}.
init([]) ->
Intensity = case application:get_env(ranch_sup_intensity) of
{ok, Value1} -> Value1;