Merge ~cjwatson/launchpad:number-cruncher-errors into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | a39bde1cef6f661765dde65e0dce4317def5e379 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:number-cruncher-errors |
Merge into: | launchpad:master |
Diff against target: |
98 lines (+44/-11) 2 files modified
lib/lp/services/statsd/numbercruncher.py (+18/-11) lib/lp/services/statsd/tests/test_numbercruncher.py (+26/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ioana Lasc (community) | Approve | ||
Review via email: mp+393599@code.launchpad.net |
Commit message
Handle errors in number-cruncher loops
Description of the change
If a LoopingCall raises an exception, then Twisted won't schedule it to be called again. Log any exceptions and return normally instead.
To post a comment you must log in.