aboutsummaryrefslogtreecommitdiffstats
path: root/src/ranch_app.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ranch_app.erl')
-rw-r--r--src/ranch_app.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ranch_app.erl b/src/ranch_app.erl
index e65db48..8069239 100644
--- a/src/ranch_app.erl
+++ b/src/ranch_app.erl
@@ -22,6 +22,8 @@
-spec start(application:start_type(), term()) -> {ok, pid()} | {error, term()}.
start(_, _) ->
_ = consider_profiling(),
+ ranch_server = ets:new(ranch_server, [
+ ordered_set, public, named_table]),
ranch_sup:start_link().
-spec stop(term()) -> ok.