Graceful shutdown and config

This commit is contained in:
2025-08-18 14:03:51 -04:00
parent 224d2cf708
commit 78e3845130
4 changed files with 128 additions and 68 deletions

View File

@@ -5,6 +5,12 @@ 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 (0 = use hardware concurrency)
network_threads = 0
# Event batch size for epoll processing
event_batch_size = 32
[commit]
# Minimum length for request_id to ensure sufficient entropy