[mythtv-commits] Ticket #3115: HouseKeeper - Add cleanup of tvchain table

MythTV mythtv at cvs.mythtv.org
Wed Feb 21 03:16:46 UTC 2007


#3115: HouseKeeper - Add cleanup of tvchain table
-------------------------------+--------------------------------------------
 Reporter:  gnome42 at gmail.com  |       Owner:  ijr    
     Type:  patch              |      Status:  new    
 Priority:  minor              |   Milestone:  unknown
Component:  mythtv             |     Version:  0.20   
 Severity:  medium             |  
-------------------------------+--------------------------------------------
 Housekeeping: HouseKeeper::CleanupOldLivetvChains(void)

 Entries in the tvchain DB table are usually cleaned up properly, but
 occasionally if the frontend/backend crashes etc. there can be orphaned
 entries in the tvchain db table. This probably doesn't happen much for
 normal usage but livetv is used for testing a lot and many devs have many
 orphaned entries.

 Attached is a housekeeping patch that cleans up any orphaned tvchains left
 in the table. It runs once a day and is fairly conservative in what it
 deletes. It only deletes tvchains that don't have any endtimes that are
 more recent than four hours ago. Seems to work fine here but needs review.

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


More information about the mythtv-commits mailing list