Page 1 of 1

Watched folder and scan speed behaviour

Posted: December 9th, 2011, 3:29 pm
by bluenote
Hey guys

I'm trying to reduce idle load so that my hibernate works better.
I've come across some funny behaviour in trying to configure
the watched folder.

Keeping the watched folder blank does not seem to stop scans.
If I set the scan time to 0 seconds, suddenly the cpu shoots up to 50%
and stays there.

Is there a 'correct' combination of settings to stop this from happening?
I don't use the watched folder whatsoever, I want it disabled.

thanks for your advice

Re: Watched folder and scan speed behaviour

Posted: December 9th, 2011, 6:18 pm
by shypike
0 is of course the worst possible value.
Don't set it to that value but to 86400 (24 hours).
That it happens is a bug of course, but there's no need to provoke it :)

Re: Watched folder and scan speed behaviour

Posted: December 9th, 2011, 7:59 pm
by bluenote
Hey shypike

Thanks for your response. The maximum value of the scan delay seems to be 3600 seconds.
Do you think this could be increased?

thanks

Re: Watched folder and scan speed behaviour

Posted: December 10th, 2011, 3:00 am
by shypike
Not needed.
As long as you have a blank folder and a non-zero time,
nothing is actually scanned.
The bug is that when you go from a value to zero, it hits an infite loop.
After a restart, that's gone. It's the actual change that triggers the bug.