https://bugzilla.wikimedia.org/show_bug.cgi?id=45072

       Web browser: ---
            Bug ID: 45072
           Summary: JobQueueGroup::getQueuesWithJobs used one query per
                    type
           Product: MediaWiki
           Version: 1.21-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JobQueue
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to