Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: server's stats.json response for SwarmCap #555

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

elpiel
Copy link
Member

@elpiel elpiel commented Nov 9, 2023

I was getting an error in core after debugging why the statistics for a stream don't show up in stremio-web.

INFO /stremio/core/src/models/streaming_server.rs:593 result for statistics: Err(Fetch("opts.swarmCap.maxSpeed: invalid type: floating point 1677721.6, expected u64 at line 1 column 5274")) stremio_core_web.js:709:27

This fix changes maxSpeed to be a floating point number.

@elpiel elpiel merged commit 92ef7dc into development Nov 9, 2023
1 check passed
@elpiel elpiel deleted the fix/stats-json-response branch November 27, 2023 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants