Max connection limit

This commit is contained in:
2025-08-18 14:48:01 -04:00
parent 9f4547d9f7
commit 715941c0d3
3 changed files with 31 additions and 4 deletions

View File

@@ -22,6 +22,8 @@ struct ServerConfig {
int network_threads = 1;
/// Event batch size for epoll processing
int event_batch_size = 32;
/// Maximum number of concurrent connections (0 = unlimited)
int max_connections = 1000;
};
/**