Disable mandatory delivery for heartbeats

This commit is contained in:
Graham Christensen 2018-01-26 14:44:01 -05:00
parent 06ea8606d6
commit 0fa3906497
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -19,7 +19,7 @@ impl PlasticHeartbeatWorker {
return worker::QueueMsg { return worker::QueueMsg {
exchange: None, exchange: None,
routing_key: Some(self.queue_name.clone()), routing_key: Some(self.queue_name.clone()),
mandatory: true, mandatory: false,
immediate: false, immediate: false,
properties: None, properties: None,
content: serde_json::to_string(&plasticheartbeat::PlasticHeartbeat {}) content: serde_json::to_string(&plasticheartbeat::PlasticHeartbeat {})