[mythtv-commits] Ticket #11578: Fix for #11109 Prevents Shutdown When Idle and Idle shutdown timeout isn't honored

MythTV noreply at mythtv.org
Sat Jun 8 00:16:31 UTC 2013


#11578: Fix for #11109 Prevents Shutdown When Idle and Idle shutdown timeout isn't
honored
------------------------------------+--------------------------------------
 Reporter:  Bill Meek <keemllib@…>  |           Type:  Bug Report - General
   Status:  new                     |       Priority:  minor
Milestone:  unknown                 |      Component:  MythTV - General
  Version:  Master Head             |       Severity:  medium
 Keywords:                          |  Ticket locked:  0
------------------------------------+--------------------------------------
 After applying a2eb931, a Backend that has Idle shutdown timeout set
 to a non-zero number of seconds (180 for me) will no longer shutdown.

 Scheduler::HandleIdleShutdown will never get called unless there's a
 schedule change. And in order to have a schedule change, the frontend
 is connected therefore, no shutdown. Or if mythfilldatabase runs, and
 no client is connected, then idle shutdown happens.

 Tested with -v idle and the following don't appear in the backend log:
 {{{
 2013-06-07 13:37:19.095373 N [3034/3173] Scheduler scheduler.cpp:2833
 (HandleIdleShutdown) - 120 secs left to system shutdown!
 }}}

 Also note that if a schedule run is done (e.g. by mythfilldatabase
 or via mythweb) then the shutdown is immediate, the value of Idle
 shutdown timeout is ignored.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11578>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list