[mythtv-commits] Ticket #6192: Long delays processing events
MythTV
mythtv at cvs.mythtv.org
Sun Feb 1 07:08:16 UTC 2009
#6192: Long delays processing events
------------------------------------+---------------------------------------
Reporter: eric.bosch at comcast.net | Owner: ijr
Type: defect | Status: new
Priority: major | Milestone: 0.22
Component: MythTV - General | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
------------------------------------+---------------------------------------
Comment(by eric.bosch at comcast.net):
From what I have been able to determine, the backend is getting slammed
with query's approximately every 50ms, thus causing the delays in handling
keyboard/remote events. I don't understand what all the code is doing in
this area (TVRec::HandlePendingRecordings(void)), the contents of
'timeuntil' variable never changes. The next show that is scheduled to
record is nearly 10 hours from current time, so there appears to be a
fault in calculation of this value. The backend is currently using 33%
of CPU. The following line in tv_rec.cpp:
int timeuntil = ((*it).doNotAsk) ? -1:
QDateTime::currentDateTime().secsTo((*it).recordingStart);
appears to be the culprit, but I'm not sure how to handle the issue. I
will try a couple things and see if I can affect a change, but if somebody
who understands this part of the code could help direct me, it would be
immensely appreciated.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6192#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list