[mythtv] [mythtv-commits] Ticket #10279: spamming logs with shutdown messages
Gavin Hurlbut
gjhurlbu at gmail.com
Fri Jul 6 17:00:23 UTC 2012
On Fri, Jul 6, 2012 at 9:53 AM, George Nassas <gnassas at mac.com> wrote:
> I took a quick look and it's obvious what's going on - the test for a
> countdown event is on line 2809 of scheduler.cpp and it merely checks that
> the seconds since idle is divisible by 10. If the surrounding
> method, Scheduler::HandleIdleShutdown, gets called more than once per second
> and it aligns with that magic 10 interval you'll see multiple events/logs.
> 264 in the OP's description and that matches my experience.
>
> It's easy enough to add an extra condition to line 2809 but it's not clear
> to me if it's a good idea to hammer HandleIdleShutdown so much. That's a
> call for the big guns.
Hahaha. We had the same for the logging heartbeats that got hammered
on leap-second-day... I added protection in there for pretty much the
same thing. If someone else doesn't take it, I'll go fix that for ya.
Amazing how little things can make such a difference.
More information about the mythtv-dev
mailing list