Last modified: 2013-11-05 18:29:11 UTC
Looking at the log gives many queries against the job table to determine, if some jobs exist there. The calls are out of JobQueueGroup::getQueuesWithJobs or JobQueueGroup::getDefaultQueuesWithJobs to JobQueue::isEmpty Maybe this can be optimized by using a DISTINCT query? That sounds faster, than, by default, 9 queries.
Change 71966 had a related patch set uploaded by Aaron Schulz: jobqueue: improved performance of JobQueueGroup::getQueuesWithJobs() https://gerrit.wikimedia.org/r/71966
Change 71966 merged by jenkins-bot: jobqueue: improved performance of JobQueueGroup::getQueuesWithJobs() https://gerrit.wikimedia.org/r/71966