supermirror_rewritemap.py optimization
Bug #85065 reported by
Stuart Bishop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
James Henstridge |
Bug Description
We want to run this script multiple times per minute instead of once per hour.
It is currently too slow to do this. It is a very simple script, and the only real optimization that can be done is to prejoin the products table when selecting the list of all branches. This will mean the script is running a single query instead of a a few thousand.
Changed in launchpad: | |
importance: | Undecided → High |
status: | Unconfirmed → Confirmed |
Changed in launchpad: | |
assignee: | ddaa → jamesh |
Changed in launchpad: | |
status: | Confirmed → Fix Committed |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Raising importance to critical. Needed for low supermirror latency.