Merge lp://qastaging/~doanac/uci-engine/bsb-throttle-message into lp://qastaging/uci-engine
Proposed by
Andy Doan
Status: | Merged |
---|---|
Approved by: | Francis Ginther |
Approved revision: | 452 |
Merged at revision: | 490 |
Proposed branch: | lp://qastaging/~doanac/uci-engine/bsb-throttle-message |
Merge into: | lp://qastaging/uci-engine |
Diff against target: |
42 lines (+19/-2) 2 files modified
branch-source-builder/bsbuilder/run_worker.py (+1/-1) ci-utils/ci_utils/amqp_utils.py (+18/-1) |
To merge this branch: | bzr merge lp://qastaging/~doanac/uci-engine/bsb-throttle-message |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis Ginther | Approve | ||
Andy Doan (community) | Needs Resubmitting | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email:
|
Commit message
bsbuilder: better throttling of the status updates
We are flooding the log with the same status message over
and over. This helps throttle this back a bit so that we
still see updates and can tell things aren't stuck, but also
not flood out log files. I added this in a generic way
to amqp_utils so that other people can choose to join in
if they ever find the need.
Description of the change
I noticed this while working on my "live logging" feature. The bsbuilder is dumping a message over and over and I've added support to throttle how often we show it.
To post a comment you must log in.
PASSED: Continuous integration, rev:451 s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/537/
http://
Executed test runs:
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/537/ rebuild
http://