[mythtv-users] Events at the beginning of a recording

David Engel david at istwok.net
Tue Feb 7 02:37:38 UTC 2023


On Mon, Feb 06, 2023 at 10:04:04PM +0000, Paul Harrison wrote:
> On 06/02/2023 21:27, Klaas de Waal wrote:
> 
> > 
> > There is the constant kSleepCheck = 300 and this is the maximum number of
> > seconds to wait between scheduler runs.
> > See commit 81dffd5ab6becb75f9e004ffe771519d23a58d87
> > Lawrence Rust authored and Paul Harrison committed on Jul 15, 2014
> > where this was changed from a hardcoded 300 to the constant.
> > When kSleepCheck is changed to 30 seconds then there is always one
> > REC_PENDING
> > in the first time window, from  120 to 90 seconds.
> > Paul, do you think that it is a problem for the scheduler to wake up
> > every 30 seconds?
> > 
> 
> I honestly don't know what side effects that would have. I would consult
> with David Engel since the scheduler is his baby.

Please send me any patches you want considered.  However, sleeping
backends is something I've never done nor intend to do.  That is all
Chris Murdoch's logic and I usually try to avoid it.  IOW, you all are
now probably more versed in it than me.

FWIW, I'd very much like the sleep and wake logic to be moved
completely or mostly out of the scheduler proper and into some other
component which observes the schedule and acts accordingly.

David
-- 
David Engel
david at istwok.net


More information about the mythtv-users mailing list