[mythtv] QUERY_FREE_SPACE_LIST every 15 seconds
Michael Rice
mikerice1969 at gmail.com
Sun Jan 16 19:01:09 UTC 2011
On Sun, Jan 16, 2011 at 6:23 AM, Daniel Kristjansson
<danielk at cuymedia.net> wrote:
> On Sun, 2011-01-16 at 03:56 -0800, Michael Rice wrote:
>> I see the timer set up in playbackboxhelper.cpp but I also see this in
>> playbackbox.cpp (UpdateUsageUI):
>>
>> // If the theme doesn't have these widgets,
>> // don't waste time querying the backend...
>> if (!freereportText && !usedProgress && !GetChild("diskspacetotal") &&
>> !GetChild("diskspaceused") && !GetChild("diskspacefree") &&
>> !GetChild("diskspacepercentused") && !GetChild("diskspacepercentfree"))
>> return;
>>
>> It looks like my theme doesn't use these but it is updating every 15
>> seconds anyway. Is this
>> update needed for something else or is this just a minor bug. Can I
>> safely increase the timer
>> to get this out of my logs?
>
> The QUERY_FREE_SPACE_LIST is only needed if there is something in the
> theme that shows disk usage, so you probably can disable it completely
> if you don't care about disk usage being reported in the UI. The only
> real caveat is that this is probably functioning as a keep alive so
> you may get significant pauses when using the UI after several hours
> of inactivity if you disable it fully.
>
> PS This shouldn't be showing up in your logs unless you have debugging
> level logging set up & mythtv may run poorly when too much logging is
> used.
>
> -- Daniel
Thanks for the info. I've just added 'network' debugging to try to debug the
slow-responding UI issues I've had since going to 0.24. It will just make it
a little easier without one of these messages every 15 seconds.
More information about the mythtv-dev
mailing list