aquatic ws load test: use longer value for request offer/answer fields

This commit is contained in:
Joakim Frostegård 2020-08-01 22:57:13 +02:00
parent 6f2dc6a510
commit 953154824e
3 changed files with 6 additions and 2 deletions

View file

@ -5,6 +5,10 @@ use rand_distr::Pareto;
pub use aquatic_ws_protocol::*;
/// JSON string used as fake announce offer / offer response
pub const JSON_VALUE: &str = r#"{ "offer": "abcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefgh" }"#;
#[derive(PartialEq, Eq, Clone)]
pub struct TorrentPeer {
pub info_hash: InfoHash,