ws: use file naming more in line with other impls; other small fixes

This commit is contained in:
Joakim Frostegård 2021-11-27 18:35:19 +01:00
parent 1e77745a84
commit baec259feb
10 changed files with 10 additions and 16 deletions

View file

@ -14,8 +14,8 @@ use parking_lot::Mutex;
use privdrop::PrivDrop;
pub mod common;
pub mod handlers;
pub mod network;
pub mod request;
pub mod socket;
use crate::config::Config;
use common::*;
@ -85,7 +85,7 @@ pub fn start_workers(config: Config, state: State) -> anyhow::Result<()> {
WorkerIndex::SocketWorker(i),
);
network::run_socket_worker(
socket::run_socket_worker(
config,
state,
i,
@ -144,7 +144,7 @@ pub fn start_workers(config: Config, state: State) -> anyhow::Result<()> {
WorkerIndex::RequestWorker(i),
);
handlers::run_request_worker(
request::run_request_worker(
config,
state,
in_message_receiver,