1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-07-03 22:21:30 +02:00

rename maxconn => max_concurrent_connections

This commit is contained in:
Rob Ede
2021-10-22 21:01:50 +01:00
parent 305d0e9d8a
commit 81421c2ba9
4 changed files with 88 additions and 66 deletions

View File

@ -170,7 +170,7 @@ async fn test_max_concurrent_connections() {
// Set a relative higher backlog.
.backlog(12)
// max connection for a worker is 3.
.maxconn(max_conn)
.max_concurrent_connections(max_conn)
.workers(1)
.disable_signals()
.bind("test", addr, move || {