Skip to content

Commit

Permalink
Merge pull request #555 from Stremio/fix/stats-json-response
Browse files Browse the repository at this point in the history
fix: server's stats.json response for SwarmCap
  • Loading branch information
elpiel authored Nov 9, 2023
2 parents 9cac832 + a393c08 commit 92ef7dc
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 92ef7dc

Please sign in to comment.