feat: allow setting how often the event queue length is logged
The configuration file can have a field queue_len_interval, and
defaults to 10 seconds. This should reduce log spam.
Signed-off-by: Lars Wirzenius liw@liw.fi
3 files changed
+33
-5
c108cf11
→
cadb933d
modified ci-broker.md
@@ -45,6 +45,7 @@ the developers and maintainers of the CI broker.
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified src/config.rs
@@ -19,19 +19,28 @@ const DEFAULT_STATUS_PAGE_UPDATE_INTERVAL: u64 = 10;
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/queueproc.rs
@@ -5,6 +5,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -24,8 +25,11 @@ pub struct QueueProcessorBuilder {
|
|
|
|
|
|
| + | |
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -34,6 +38,10 @@ impl QueueProcessorBuilder {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -52,6 +60,11 @@ impl QueueProcessorBuilder {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -64,6 +77,8 @@ pub struct QueueProcessor {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -102,9 +117,12 @@ impl QueueProcessor {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|