Max connection limit
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user