From 987e1a4a458452eeb9058c3923ca9125868057fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Tue, 12 May 2020 21:08:30 +0200 Subject: [PATCH] aquatic_ws: improve comments in config --- aquatic_ws/src/lib/config.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/aquatic_ws/src/lib/config.rs b/aquatic_ws/src/lib/config.rs index bd49438..54a5308 100644 --- a/aquatic_ws/src/lib/config.rs +++ b/aquatic_ws/src/lib/config.rs @@ -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,