< BjornT> gmb: sure, i'll look at it, if you explain how it will be used.
in more detail :)
< gmb> BjornT: Cool. So, we want to be a bit more sensible with.
scheduling bug watch checks. At the moment we check each watch.
once every 24 hours, but if it's erroring a lot (which we now.
record in the BugWatchActivity table) we don't want to check it so.
often.
< gmb> BjornT: So, instead of building that logic into. BugTracker.getBugWatchesNeedingUpdate(), which would be complex at.
best, we think we should have a garbo-hourly process that looks at.
all the bug watches checked in the last hour, checks to see how.
often they've errored and then schedules their next_check.
accordingly.
< gmb> So BugTracker.getBugWatchesNeedingUpdate() will look at the.
next_check field instead of lastchecked to determine whether a.
watch needs checking.
< gmb> The advantage is that we don't have to further complicate.
checkwatches to get the back-off for erroring watches.
< BjornT> gmb: ok, that makes sense. i'm wondering if we could find a.
better name? if you set next_check to some time, it doesn't.
mean that it will be checked exactly at that time, will it?
< gmb> BjornT: Hmm, true. How about check_after?
< stub> check_due ?
* stub gets out his bike shed schematics
< gmb> It should be blue.
< BjornT> gmb: maybe next_check is good, as long as there is a comment. explaining the semantics. can't think of a better name, and i.
think next_check is better than the other suggestions.
< gmb> BjornT: Right; I'll add the comment (should've added it anyway).
< BjornT> gmb: sure, i'll look at it, if you explain how it will be used.
BugTracker. getBugWatchesNe edingUpdate( ), which would be complex at. getBugWatchesNe edingUpdate( ) will look at the.
explaining the semantics. can't think of a better name, and i.
in more detail :)
< gmb> BjornT: Cool. So, we want to be a bit more sensible with.
scheduling bug watch checks. At the moment we check each watch.
once every 24 hours, but if it's erroring a lot (which we now.
record in the BugWatchActivity table) we don't want to check it so.
often.
< gmb> BjornT: So, instead of building that logic into.
best, we think we should have a garbo-hourly process that looks at.
all the bug watches checked in the last hour, checks to see how.
often they've errored and then schedules their next_check.
accordingly.
< gmb> So BugTracker.
next_check field instead of lastchecked to determine whether a.
watch needs checking.
< gmb> The advantage is that we don't have to further complicate.
checkwatches to get the back-off for erroring watches.
< BjornT> gmb: ok, that makes sense. i'm wondering if we could find a.
better name? if you set next_check to some time, it doesn't.
mean that it will be checked exactly at that time, will it?
< gmb> BjornT: Hmm, true. How about check_after?
< stub> check_due ?
* stub gets out his bike shed schematics
< gmb> It should be blue.
< BjornT> gmb: maybe next_check is good, as long as there is a comment.
think next_check is better than the other suggestions.
< gmb> BjornT: Right; I'll add the comment (should've added it anyway).