Merge lp:~cjwatson/launchpad/reduce-webhook-retries into lp:launchpad
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 18924 |
Proposed branch: | lp:~cjwatson/launchpad/reduce-webhook-retries |
Merge into: | lp:launchpad |
Diff against target: |
173 lines (+61/-20) 2 files modified
lib/lp/services/webhooks/model.py (+15/-2) lib/lp/services/webhooks/tests/test_job.py (+46/-18) |
To merge this branch: | bzr merge lp:~cjwatson/launchpad/reduce-webhook-retries |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant | code | Approve | |
Review via email: mp+365873@code.launchpad.net |
Commit message
Retry webhook deliveries that respond with 4xx for an hour rather than a day.
Description of the change
These are generally permanent errors due to some kind of misconfiguration, and we don't want them clogging up our job queue.
To post a comment you must log in.
I don't think it's completely reasonable to not retry 4xxs at all, but we could be less aggressive. It's not uncommon for something to 404 for a bit during a reconfiguration, for example.