Graceful shutdown and config
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user