[mythtv-commits] Ticket #7836: Idle frontend "wakeup" delay
MythTV
mythtv at cvs.mythtv.org
Fri Jan 1 16:36:51 UTC 2010
#7836: Idle frontend "wakeup" delay
--------------------------------+-------------------------------------------
Reporter: stichnot@… | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: medium | Mlocked: 0
--------------------------------+-------------------------------------------
Comment(by stichnot@…):
I forgot to say a couple things about this patch.
First, my fix triggered an existing bug in the MDBManager class. The
m_connID field was being used for two purposes: to keep track of the
number of existing DB connections, and to create a unique connection name
for new DB connections. This could potentially allow a new connection to
be opened with an existing connection's name, causing the existing
connection to be closed. I separated out this field into two different
fields. I suppose this means something like bumping the binary version.
Second, it seems that a cleaner solution may be to create a separate
thread to do all the opening and closing of DB connections. I started out
on that path, but it seemed like an awful lot of machinery to deal with a
small oddity in the mysql driver, so I took this simpler approach instead.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7836#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list