Add a task to garbo-hourly to update out-of-date bug heat scores
Bug #509195 reported by
Graham Binns
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Graham Binns |
Bug Description
There should be a garbo-hourly task to pick up bugs whose heat_last_updated is older than a certain time and update their heat.
This should drip-feed heat calculation jobs (ICalculateBugH
For example: if there are less than n outstanding heat calculations on the job queue, it should add calculation jobs for the 1000-n least recently heat-calculated bugs.
Related branches
lp:~gmb/launchpad/heat-garbo-hourly-bug-509195
- Abel Deuring (community): Approve (code)
-
Diff: 410 lines (+172/-52)7 files modifieddatabase/schema/security.cfg (+2/-1)
lib/canonical/config/schema-lazr.conf (+1/-0)
lib/canonical/launchpad/scripts/garbo.py (+19/-16)
lib/lp/bugs/configure.zcml (+1/-0)
lib/lp/bugs/doc/bug-heat.txt (+117/-32)
lib/lp/bugs/interfaces/bug.py (+11/-1)
lib/lp/bugs/model/bug.py (+21/-2)
Changed in malone: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in malone: | |
assignee: | nobody → Graham Binns (gmb) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in malone: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It may make sense to add jobs with a lower priority than those created from bug activity. There's no db support for that as yet.