Justify epoll_instances config existing
This commit is contained in:
@@ -21,8 +21,8 @@ struct ServerConfig {
|
||||
/// Number of I/O threads for handling connections and network events
|
||||
int io_threads = 1;
|
||||
/// Number of epoll instances to reduce epoll_ctl contention (default:
|
||||
/// io_threads/2, max: io_threads)
|
||||
int epoll_instances = 2;
|
||||
/// io_threads, max: io_threads)
|
||||
int epoll_instances = 1;
|
||||
/// Event batch size for epoll processing
|
||||
int event_batch_size = 32;
|
||||
/// Maximum number of concurrent connections (0 = unlimited)
|
||||
|
||||
Reference in New Issue
Block a user