Page 1 of 1
[0.8.0Alpha1] SpeedLimit
Posted: May 20th, 2015, 6:20 am
by safihre
Hi,
Why is the speedlimit now a percentage? I don't see how this improves usability since now it requires the extra setting of the max-speed?
And the confusion with MBit/MByte to add to that.
As a personal note:
Since I am in different places with my laptop the max line speed changes all the time and sometimes I just want it to continue at a specific speed and not have to calculate what 500 or 800kb/s is of the max-speed that I have set?
Re: [0.8.0Alpha1] SpeedLimit
Posted: May 20th, 2015, 6:26 am
by shypike
It's a design choice.
It may not be to your advantage, but it will be to others.
The confusion between bits and bytes is nothing new and is primarily caused by ISPs,
who like to advertise bigger numbers.
(Although for them it's a natural way to express speed, the rest of the IT world is only interested in bytes, not bits.)
Re: [0.8.0Alpha1] SpeedLimit
Posted: May 22nd, 2015, 8:22 am
by safihre
I have a bug:
If the speedLimit is set through the API (either with Glitter or Plush), the value on the Config page is not updated while the speed still decreases to the level set with API.
The other way around (updating the value on the config page) does update the value in the API/interface.
Re: [0.8.0Alpha1] SpeedLimit
Posted: May 23rd, 2015, 1:12 am
by shypike
The Config pages are not refreshed automatically.
Do you see the correct value after reloading the page?
Re: [0.8.0Alpha1] SpeedLimit
Posted: May 23rd, 2015, 3:20 am
by safihre
shypike wrote:The Config pages are not refreshed automatically.
Do you see the correct value after reloading the page?
No, it never gets updated with the value set through the API.
So I can set on config page 50%, go back to Plush/Glitter, set 60% and if I then go back to the config page it will still show 50%. Even though the download-speed is doing the 60% set with the API!
This is not just in Glitter, also in Plush, so you could just test it ;-)
Re: [0.8.0Alpha1] SpeedLimit
Posted: May 23rd, 2015, 3:33 am
by shypike
The behaviour has been this way since the API function was introduced, it's a temporary override.
You can discuss the merits, of course.
If you want a permanent change, you need this call:
Code: Select all
http://localhost:8080/sabnzbd/api?mode=set_config§ion=misc&keyword=bandwidth_limit&value=PERCENTAGE
Re: [0.8.0Alpha1] SpeedLimit
Posted: May 23rd, 2015, 4:16 am
by safihre
Aaah, that explains!