 
     [
       servers_name(endpoint, servers),
-      %{num_acceptors: @default_num_acceptors, socket_opts: socket_opts(port, opts)},
+      %{num_acceptors: num_acceptors, max_connections: max_connections, socket_opts: socket_opts(port, opts)},
       opts
     ]
   end

  alias GRPC.Adapter.Cowboy.Handler, as: Handler

  @default_num_acceptors 20

  # Only used in starting a server manually using `GRPC.Server.start(servers)`
  @spec start(atom, GRPC.Server.servers_map(), non_neg_integer, keyword) ::

      ])

    idle_timeout = Keyword.get(opts, :idle_timeout, :infinity)
    num_acceptors = Keyword.get(opts, :num_acceptors, @default_num_acceptors)
    max_connections = Keyword.get(opts, :max_connections, @default_max_connections)

    # https://ninenines.eu/docs/en/cowboy/2.7/manual/cowboy_http2/
    opts =
