public ServerBuilder maxNumConnections(int maxNumConnections) {
        this.maxNumConnections = validateMaxNumConnections(maxNumConnections);
        return this;
    }
Sets the maximum allowed number of open connections.
core/src/main/java/com/linecorp/armeria/server/ServerBuilder.java