mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 10:45:30 +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)]
|
#[serde(default)]
|
||||||
pub struct Config {
|
pub struct Config {
|
||||||
/// Socket workers receive requests from the socket, parse them and send
|
/// Socket workers receive requests from the socket, parse them and send
|
||||||
/// them on to the request workers. They then recieve responses from the
|
/// them on to the request handler. They then recieve responses from the
|
||||||
/// request workers, encode them and send them back over the socket.
|
/// request handler, encode them and send them back over the socket.
|
||||||
pub socket_workers: usize,
|
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 network: NetworkConfig,
|
||||||
pub handlers: HandlerConfig,
|
pub handlers: HandlerConfig,
|
||||||
pub cleaning: CleaningConfig,
|
pub cleaning: CleaningConfig,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue