bin/mass-rebuilder: use whoami() to identify rabbitmq
This commit is contained in:
parent
b60e30cd42
commit
3d7a81300b
|
@ -38,10 +38,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
|||
let cloner = checkout::cached_cloner(Path::new(&cfg.checkout.root));
|
||||
let nix = cfg.nix();
|
||||
|
||||
let events = stats::RabbitMq::from_lapin(
|
||||
&format!("{}-{}", cfg.runner.identity, cfg.nix.system),
|
||||
task::block_on(conn.create_channel())?,
|
||||
);
|
||||
let events = stats::RabbitMq::from_lapin(&cfg.whoami(), task::block_on(conn.create_channel())?);
|
||||
|
||||
let queue_name = String::from("mass-rebuild-check-jobs");
|
||||
chan.declare_queue(easyamqp::QueueConfig {
|
||||
|
|
Loading…
Reference in a new issue