Commit 7e8aaddf authored by KT315's avatar KT315
Browse files

Set 36 acceptors

parent e84a8714
......@@ -19,7 +19,7 @@ defmodule Dummy.Application do
{:cowboy, :start_clear,
[
:dummy,
%{max_connections: 999_999, socket_opts: [port: 5000]},
%{max_connections: 1_000_000, num_acceptors: 36, socket_opts: [port: 5000]},
%{max_keepalive: 1_000, request_timeout: :infinity, env: %{dispatch: dispatch}}
]},
restart: :permanent,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment