Remove epoll instances config

This commit is contained in:
2025-09-12 17:58:40 -04:00
parent 2b8f095d27
commit cd2e15677a
5 changed files with 7 additions and 28 deletions

View File

@@ -40,10 +40,8 @@ struct ServerConfig {
/// Maximum size in bytes for incoming HTTP requests (default: 1MB)
int64_t max_request_size_bytes = 1024 * 1024;
/// Number of I/O threads for handling connections and network events
/// Each I/O thread gets its own dedicated epoll instance
int io_threads = 1;
/// Number of epoll instances to reduce epoll_ctl contention (default:
/// 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)