[mythtv-commits] Ticket #5482: PATCH: Purge unused database-connections after 3600 secs [SVN: Trunk]

MythTV mythtv at cvs.mythtv.org
Wed Jul 16 20:12:58 UTC 2008


#5482: PATCH: Purge unused database-connections after 3600 secs [SVN: Trunk]
---------------------------------------+------------------------------------
 Reporter:  tomimo at ncircle.nullnet.fi  |        Owner:  danielk
     Type:  patch                      |       Status:  closed 
 Priority:  minor                      |    Milestone:  0.22   
Component:  mythtv                     |      Version:  head   
 Severity:  medium                     |   Resolution:  fixed  
  Mlocked:  0                          |  
---------------------------------------+------------------------------------
Changes (by danielk):

  * status:  assigned => closed
  * resolution:  => fixed


Comment:

 (In [17834]) Fixes #5482. Avoids having DB connections go stale using with
 two simple modificatinos to mythdbcon.

 1st we rotate our DB connections.
 2nd we expire connections that have gone unused for 1-2 hours.

 Patch from tomino, modified slightly by me.

 Unfortunately the binary revision must be updated, so plugins must be
 recompiled.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5482#comment:3>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list