Declare github-events exchange in the evaluation filter
This commit is contained in:
parent
7f0c39a315
commit
4a3aa348a3
|
@ -30,6 +30,19 @@ fn main() {
|
||||||
|
|
||||||
let mut channel = session.open_channel(1).unwrap();
|
let mut channel = session.open_channel(1).unwrap();
|
||||||
|
|
||||||
|
channel
|
||||||
|
.declare_exchange(easyamqp::ExchangeConfig {
|
||||||
|
exchange: "github-events".to_owned(),
|
||||||
|
exchange_type: easyamqp::ExchangeType::Topic,
|
||||||
|
passive: false,
|
||||||
|
durable: true,
|
||||||
|
auto_delete: false,
|
||||||
|
no_wait: false,
|
||||||
|
internal: false,
|
||||||
|
arguments: None,
|
||||||
|
})
|
||||||
|
.unwrap();
|
||||||
|
|
||||||
channel
|
channel
|
||||||
.declare_queue(easyamqp::QueueConfig {
|
.declare_queue(easyamqp::QueueConfig {
|
||||||
queue: "mass-rebuild-check-jobs".to_owned(),
|
queue: "mass-rebuild-check-jobs".to_owned(),
|
||||||
|
|
Loading…
Reference in a new issue