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.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ranch_sup.erl b/src/ranch_sup.erl
index ff05194..ad1c558 100644
--- a/src/ranch_sup.erl
+++ b/src/ranch_sup.erl
@@ -33,6 +33,8 @@ start_link() ->
%% supervisor.
init([]) ->
+ ranch_server = ets:new(ranch_server, [
+ ordered_set, public, named_table, {write_concurrency, true}]),
Procs = [
{ranch_server, {ranch_server, start_link, []},
permanent, 5000, worker, [ranch_server]}