mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
udp load test: move network.rs and handler.rs into new worker module
This commit is contained in:
parent
411716e333
commit
e972903451
4 changed files with 68 additions and 71 deletions
|
|
@ -10,14 +10,13 @@ use rand_distr::Pareto;
|
|||
|
||||
mod common;
|
||||
mod config;
|
||||
mod handler;
|
||||
mod network;
|
||||
mod utils;
|
||||
mod worker;
|
||||
|
||||
use common::*;
|
||||
use config::Config;
|
||||
use network::*;
|
||||
use utils::*;
|
||||
use worker::*;
|
||||
|
||||
#[global_allocator]
|
||||
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue