Skip to content

Instance Property

connectionsPerServerTick

The number of incoming TCP connections to accept per “tick” (i.e. each time through the server’s event loop).
var connectionsPerServerTick: UInt

Discussion

Most users will never need to change this value; its primary use case is to work around benchmarking artifacts where bursts of connections are created within extremely small intervals. See https://forums.swift.org/t/standard-vapor-website-drops-1-5-of-requests-even-at-concurrency-of-100/71583/49 for additional information.