Inconsistency Of Units In Api For Limits (Kb) Vs. Speed (Bytes)


somid3
 Share

Recommended Posts

When I set:

 

api?method=set_prefs&upload_limit=50

 

On the peer that is providing a file (Peer: A), the download speed of the peer downloading the file (Peer: B) hits 50 kB/s.

 

At the same time when peer B is downloading a file at 50 kB/s, I call:

 

api?method=get_speed

 

On peer A, and I get:

 

{ "download": 9, "upload": 51223 }

 

That is very confusing as right now there is no documentation on the units of the upload/download limits and the speed. And it seems both use different units.

 

This is minor, but can be very confusing given the lack of details.

 

Love the product though, it all feels like magic :) and it works flawlessly.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share