mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_ws_load_test: get answer sending to work with wt-tracker
This commit is contained in:
parent
01fdf40a02
commit
6f618bb013
5 changed files with 7 additions and 7 deletions
|
|
@ -108,8 +108,8 @@ pub struct AnnounceRequest {
|
|||
#[serde(rename = "left")]
|
||||
pub bytes_left: Option<usize>,
|
||||
/// Can be empty. Then, default is "update"
|
||||
#[serde(default)]
|
||||
pub event: AnnounceEvent,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub event: Option<AnnounceEvent>,
|
||||
|
||||
/// Only when this is an array offers are sent to random peers
|
||||
/// Length of this is number of peers wanted?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue