Make watching GNOME bugs more efficient by doing just one buglist.cgi request
Bug #6667 reported by
Olav Vitters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Björn Tillenius |
Bug Description
Malone currently watches Bugzilla bugs by using buglist.cgi very inefficiently. It makes a request for every bug. This takes 1 - 10 seconds _per_ bug. For all bugs this takes about 6 minutes total. Malone says there it watches 101 GNOME bugs, so 3.5 sec average per bug.
Malone should just do one buglist.cgi request.
Currently it requests:
http://
=rdf&bug_
It should combine the bug numbers with ",", like:
http://
=rdf&bug_
Bugzilla allows you to use POST (handy when you have a lot of bug numbers).
description: | updated |
Changed in malone: | |
status: | Unconfirmed → Confirmed |
Changed in malone: | |
assignee: | nobody → bjornt |
Changed in malone: | |
status: | Confirmed → In Progress |
Changed in malone: | |
status: | In Progress → Fix Committed |
Changed in malone: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixing this will be interesting -- the current externalsystem.py code update_ watch_status( ) call -- instantiating one per
is built with the assumption that it will handle one bug at a time --
get_bug_status accepts a single bug_id as an argument, and that's what
issues the buglist.cgi request. To fix this we need to factor out most
of the code in checkwatches.py and move it all into a single
ExternalSystem.
bugtracker we want to check.