aquatic_ws: improve comments in config

This commit is contained in:
Joakim Frostegård 2020-05-12 21:08:30 +02:00
parent 0c93d170de
commit 987e1a4a45

View file

@ -7,11 +7,9 @@ use serde::{Serialize, Deserialize};
#[serde(default)]
pub struct Config {
/// Socket workers receive requests from the socket, parse them and send
/// them on to the request workers. They then recieve responses from the
/// request workers, encode them and send them back over the socket.
/// them on to the request handler. They then recieve responses from the
/// request handler, encode them and send them back over the socket.
pub socket_workers: usize,
/// Request workers receive a number of requests from socket workers,
/// generate responses and send them back to the socket workers.
pub network: NetworkConfig,
pub handlers: HandlerConfig,
pub cleaning: CleaningConfig,