Speed report when networks drops = infinite number ?

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
noelbernie
Release Testers
Release Testers
Posts: 8
Joined: March 23rd, 2009, 7:31 am

Speed report when networks drops = infinite number ?

Post by noelbernie »

Hi,
here is the small issue :

The speed is adjusting very slowly when network is disconnected.
That doesn't look good, because after a few seconds, it's showing crazy number of hours remaining (1 million hours ?).
I was downloading 1gb of data, the connection dropped. My download would apparently be done in DECEMBER !!!
The remaining time is overlapping everywhere, it's not pretty in web interface, or in OSX Menubar.

If speed is 0, but sabnzbd daemon is still reflecting speed of a few BYTES/ second as an average of previous transfers, it should really just show either an infinity symbol ∞, or just --, because the speed is actually Zero :)

Thanks !
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Speed report when networks drops = infinite number ?

Post by shypike »

We show an average speed over some time.
Otherwise you would get a very odd speed graph,
because Usenet traffic is rather irregular by nature.
(Due to the method of "ask for article", "wait", "get the article at max speed").

We could force it to zero below a certain threshold,
but we're not going to do it now because it will be redone
sometime in the future anyway.
noelbernie
Release Testers
Release Testers
Posts: 8
Joined: March 23rd, 2009, 7:31 am

Re: Speed report when networks drops = infinite number ?

Post by noelbernie »

ok thanks for the answer
Post Reply