mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
ws load test: enable measuring once all connections are open
This commit is contained in:
parent
61ae6dd7e7
commit
373e8277e0
2 changed files with 46 additions and 18 deletions
|
|
@ -15,6 +15,7 @@ pub struct Config {
|
|||
pub num_connections_per_worker: usize,
|
||||
pub connection_creation_interval_ms: u64,
|
||||
pub duration: usize,
|
||||
pub measure_after_max_connections_reached: bool,
|
||||
pub torrents: TorrentConfig,
|
||||
pub cpu_pinning: CpuPinningConfigDesc,
|
||||
}
|
||||
|
|
@ -34,6 +35,7 @@ impl Default for Config {
|
|||
num_connections_per_worker: 16,
|
||||
connection_creation_interval_ms: 10,
|
||||
duration: 0,
|
||||
measure_after_max_connections_reached: true,
|
||||
torrents: TorrentConfig::default(),
|
||||
cpu_pinning: Default::default(),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue