Merge lp:~gmb/launchpad/bugwatch-next_check-bug-544238 into lp:launchpad/db-devel
Proposed by
Graham Binns
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Graham Binns | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~gmb/launchpad/bugwatch-next_check-bug-544238 | ||||
Merge into: | lp:launchpad/db-devel | ||||
Diff against target: |
215 lines (+113/-8) 5 files modified
database/schema/comments.sql (+1/-0) database/schema/patch-2207-42-0.sql (+7/-0) lib/lp/bugs/doc/bug-watch-activity.txt (+83/-0) lib/lp/bugs/model/bugwatch.py (+6/-3) lib/lp/bugs/scripts/checkwatches.py (+16/-5) |
||||
To merge this branch: | bzr merge lp:~gmb/launchpad/bugwatch-next_check-bug-544238 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonathan Lange (community) | db | Abstain | |
Björn Tillenius (community) | db | Approve | |
Stuart Bishop (community) | db | Approve | |
Review via email: mp+21869@code.launchpad.net |
Commit message
Add a next_check column to BugWatch.
Description of the change
This branch adds a next_check field to BugWatch. We'll use this to allow us to throttle BugWatch updates where the BugWatch is continually failing.
To post a comment you must log in.
Argh. I've forgotten to add the prerequisite branch to this one. Here's the actual diff for this branch:
=== added file 'database/ schema/ patch-2207- 99-0.sql' schema/ patch-2207- 99-0.sql 1970-01-01 00:00:00 +0000 schema/ patch-2207- 99-0.sql 2010-03-22 15:58:29 +0000 min_messages= ERROR; 'UTC':: text, now()); _next_check_ _idx ON BugWatch( next_check) ; seRevision VALUES (2207, 99, 0);
--- database/
+++ database/
@@ -0,0 +1,7 @@
+SET client_
+
+ALTER TABLE BugWatch ADD COLUMN next_check timestamp without time zone DEFAULT timezone(
+
+CREATE INDEX bugwatch_
+
+INSERT INTO LaunchpadDataba