[mythtv] QUERY_FREE_SPACE_LIST every 15 seconds
Daniel Kristjansson
danielk at cuymedia.net
Sun Jan 16 14:23:05 UTC 2011
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
More information about the mythtv-dev
mailing list