[mythtv-commits] Ticket #3597: EIT scanner breaks idle shutdown

MythTV mythtv at cvs.mythtv.org
Mon Jun 11 16:37:43 UTC 2007


#3597: EIT scanner breaks idle shutdown
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  ijr    
     Type:  defect     |      Status:  new    
 Priority:  minor      |   Milestone:  unknown
Component:  mythtv     |     Version:  unknown
 Severity:  medium     |  
-----------------------+----------------------------------------------------
 Hi,

 I tried to set up my computer so that it goes to sleep when mythbackend
 is idle.

 I set the idle timeout value to 10 minutes, but this didn't work as
 expected. The EIT scanner causes a reschedule that disturbs the idle
 countdown and resets it frequently, so that the backend may never go
 to sleep.

 I solved this with a patch (see the attachment) that prevents the
 scheduler from resetting the idle countdown.

 Now the idle timer works as expected. You can see how the patch works
 by looking into the log file:

 2007-06-11 11:58:25.811 scheduler: Scheduled items: Scheduled 7 items in
 0.2 =
 2007-06-11 11:58:25.811 Resetting of idleSince aborted!

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3597>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list