Stop using CalculateBugHeatJobs to calculate bug heat

Bug #585803 reported by Graham Binns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Graham Binns

Bug Description

Once the fix for bug 582195 has landed we should stop creating new CalculateBugHeatJobs when a bug is updated and instead use the new calculate_bug_heat() stored procedure. It may help to retain some of the existing infrastructure (e.g. IBug.setHeat()) for testing purposes.

Similarly, the garbo-hourly job to schedule CalculateBugHeatJobs for outdated bugs should be replaced by one which uses calculate_bug_heat() to UPDATE all out-of-date bugs in one transaction.

Related branches

Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Changed in malone:
status: In Progress → Fix Committed
tags: added: qa-needstesting
Abel Deuring (adeuring)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in malone:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.