actix_tls::accept

Function max_concurrent_tls_connect

source
pub fn max_concurrent_tls_connect(num: usize)
Expand description

Sets the maximum per-worker concurrent TLS connection limit.

All listeners will stop accepting connections when this limit is reached. It can be used to regulate the global TLS CPU usage.

By default, the connection limit is 256.