refactor: use worker abstraction in queueadd
modified src/bin/cib.rs
@@ -22,6 +22,7 @@ use radicle_ci_broker::{
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -147,7 +148,7 @@ impl InsertCmd {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -241,7 +242,7 @@ impl ProcessEventsCmd {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -275,12 +276,18 @@ impl ProcessEventsCmd {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/queueadd.rs
@@ -1,5 +1,3 @@
| - | |
| - | |
|
|
|
|
|
@@ -8,6 +6,7 @@ use crate::{
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -41,15 +40,6 @@ pub struct QueueAdder {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -85,6 +75,15 @@ impl QueueAdder {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|