mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_ws: improve comments in config
This commit is contained in:
parent
0c93d170de
commit
987e1a4a45
1 changed files with 2 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue