manual build request timeouts for recipes with a gazillion builds
Bug #1770121 reported by
Mattia Rizzolo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Colin Watson |
Bug Description
As seen in
https:/
[10:46:15 AM] <wgrant> SPRB time estimation is entertaining
[10:46:17 AM] <wgrant> Look at query 36
[10:47:15 AM] <wgrant> We do that calculation in the DB for BPBs
[10:47:22 AM] <cjwatson> right, so SPR.getMedianBu
[10:47:31 AM] <wgrant> There are ~6k builds
[10:47:40 AM] <wgrant> Still shouldn't be quite that slow, but who knows
[10:47:50 AM] <wgrant> Could be security proxy time and such
[10:48:14 AM] <cjwatson> mapreri: basically it's pulling every single build back from the DB and iterating over each one in Python to calculate the median build duration
Related branches
lp:~cjwatson/launchpad/spr-faster-time-estimation
- William Grant: Approve (code)
-
Diff: 20 lines (+5/-3)1 file modifiedlib/lp/code/model/sourcepackagerecipe.py (+5/-3)
summary: |
- manual build request timeouts for recipes with a gazillion builds? + manual build request timeouts for recipes with a gazillion builds |
tags: | added: lp-code oops timeout trivial |
Changed in launchpad: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Colin Watson (cjwatson) |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r18640 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 18640>.