Unify accept and network threads into io threads

This commit is contained in:
2025-08-20 16:50:54 -04:00
parent 7e28e6503d
commit 130ff2062a
10 changed files with 157 additions and 216 deletions

View File

@@ -5,10 +5,8 @@ bind_address = "127.0.0.1"
port = 8080
# Maximum request size in bytes (for 413 Content Too Large responses)
max_request_size_bytes = 1048576 # 1MB
# Number of accept threads for handling incoming connections
accept_threads = 1
# Number of network I/O threads for epoll processing
network_threads = 1
# Number of I/O threads for handling connections and network events
io_threads = 1
# Event batch size for epoll processing
event_batch_size = 32