[mythtv] regular full CPU load by mysqld if mythbackend is running

Stuart Auchterlonie stuarta at squashedfrog.net
Wed Oct 19 11:35:05 UTC 2005


On Wed, Oct 19, 2005 at 12:33:07PM +0100, Stuart Auchterlonie wrote:
> 
> The quick version would be to change the condition on
> line 121 of eithelper.cpp from
> 
> if (counter > 0)
> 
> to
> 
> if (counter > 0 && counter < EITHelper::kChunkSize)
> 
> That way if we've just inserted our 20 events this run
> then there are obviously more to come, so don't bother
> with the reschedule...
> 
> 

Can also up the interval between runs in the eitscanner
run queue from 200ms to 500ms or even 1s.

Stuart



More information about the mythtv-dev mailing list