mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
WIP: aquatic_http_load_test: clean up config structs
This commit is contained in:
parent
da3b2bcd8c
commit
ff6eddfc85
4 changed files with 26 additions and 79 deletions
|
|
@ -11,7 +11,6 @@ use crate::config::*;
|
|||
use crate::utils::create_random_request;
|
||||
|
||||
|
||||
|
||||
pub struct Connection {
|
||||
stream: TcpStream,
|
||||
read_buffer: [u8; 2048],
|
||||
|
|
@ -154,7 +153,7 @@ pub fn run_socket_thread(
|
|||
state: LoadTestState,
|
||||
num_initial_requests: usize,
|
||||
) {
|
||||
let timeout = Duration::from_micros(config.network.poll_timeout);
|
||||
let timeout = Duration::from_micros(config.network.poll_timeout_microseconds);
|
||||
|
||||
let mut connections: ConnectionMap = HashMap::new();
|
||||
let mut poll = Poll::new().expect("create poll");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue