UI does not display MAX_RATE variable properly
Bug #216576 reported by
chapterthree
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LottaNZB |
Fix Released
|
High
|
Severin H |
Bug Description
~/.hellanzb/
# Uncomment this line to limit all server connections to the specified KB/s
# bandwidth
Hellanzb.MAX_RATE = 150 # limit to 150kB/s
~/.lottanzb/
Hellanzb.MAX_RATE = 150
UI preferences window:
(Checked) Limit download speed: 1000 KBit/s
How is it getting 1000 KBit/s?
1000 KBit/s / 8 = 125kB/s
150kB/s * 8 = 1200 KBit/s
(Although the conversions should be consistent, I'll mention I use http://
Changed in lottanzb: | |
status: | In Progress → Fix Committed |
Changed in lottanzb: | |
milestone: | 0.2.1 → 0.3 |
Changed in lottanzb: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Ah, I see now, it's kilobytes, not kilobits. The text on the UI needs to be corrected to read KB/s.
So with that clarification out of the way, now the question is why does LottaNZB not honor the MAX_RATE specified in the config file?