mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 02:05:30 +00:00
ws: use file naming more in line with other impls; other small fixes
This commit is contained in:
parent
1e77745a84
commit
baec259feb
10 changed files with 10 additions and 16 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue