[mythtv-commits] Ticket #5042: User jobs delayed by transcode delay

MythTV mythtv at cvs.mythtv.org
Thu Mar 27 01:27:33 UTC 2008


#5042: User jobs delayed by transcode delay
------------------------------------+---------------------------------------
 Reporter:  Scott.Atkins at gmail.com  |        Owner:  cpinkham
     Type:  defect                  |       Status:  assigned
 Priority:  minor                   |    Milestone:  unknown 
Component:  mythtv                  |      Version:  unknown 
 Severity:  medium                  |   Resolution:          
  Mlocked:  0                       |  
------------------------------------+---------------------------------------

Comment(by anonymous):

 I believe the proper solution is to just make JobQueue::GetJobsInQueue()
 sort the list by schedruntime instead of inserttime.  JobQueue::QueueJob()
 uses the current time for the schedruntime if a runtime is not passed in,
 so it's the same as if we set schedruntime to now() in the SQL like we do
 for inserttime.

 If you want to test this, just change the "ORDER BY j.inserttime,
 j.chanid, j.id;" in the first SQL statement in JobQueue::GetJobsInQueue()
 to "ORDER BY j.schedruntime, j.chanid, j.id;" and that should fix the
 issue.

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


More information about the mythtv-commits mailing list