Write a script to spread out clumps of bug watches
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
Bug 364450 occurs when there are too many bug watches to be updated at one time. This causes certain parts of checkwatches' operations to take too long, causing a TooMuchTimeSkew error to be raised, even if there isn't actually a time skew.
Whilst checkwatches should deal with these situations better, we can mitigate matters by writing a script that will take all the bug watches for a bug tracker and spread their lastchecked times out evenly throughout the day. This will have the effect of reducing the number of watches checked at any one time to a sensible level. This script could be re-run at any point if this problem recurs, say after a large import of bugs from an external tracker.
Unmilestoning this. The original problem has been resolved so, whilst this would be useful it's not urgent right now.