Skip to content

Commit

Permalink
fix: server's stats.json response for SwarmCap
Browse files Browse the repository at this point in the history
Signed-off-by: Lachezar Lechev <[email protected]>
  • Loading branch information
elpiel committed Nov 9, 2023
1 parent 9cac832 commit a393c08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/streaming_server/statistics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub struct PeerSearch {
#[derive(Clone, PartialEq, Serialize, Deserialize, Debug)]
#[serde(rename_all = "camelCase")]
pub struct SwarmCap {
pub max_speed: u64,
pub max_speed: f64,
pub min_peers: u64,
}

Expand Down

0 comments on commit a393c08

Please sign in to comment.