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

@@ -74,6 +74,9 @@ void ConfigParser::parse_server_config(const auto &toml_data,
parse_field(srv, "bind_address", config.bind_address);
parse_field(srv, "port", config.port);
parse_field(srv, "max_request_size_bytes", config.max_request_size_bytes);
parse_field(srv, "accept_threads", config.accept_threads);
parse_field(srv, "network_threads", config.network_threads);
parse_field(srv, "event_batch_size", config.event_batch_size);
});
}