summaryrefslogtreecommitdiff
path: root/include/amqqueue.hrl
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2019-07-08 18:41:25 +0300
committerMichael Klishin <mklishin@pivotal.io>2019-07-08 18:41:25 +0300
commit50ac865517c84e01a122e5a8e92a1313b7114d67 (patch)
treecebda5964958361142a6d18d01fb1958058c6304 /include/amqqueue.hrl
parente151ebfe2a50a5e9418e12a6712545aa7054cc40 (diff)
parentd35182b709ed91b12b9b988ba28d1dcbf063370d (diff)
downloadrabbitmq-server-git-50ac865517c84e01a122e5a8e92a1313b7114d67.tar.gz
Merge branch 'master' into management-only-api
Diffstat (limited to 'include/amqqueue.hrl')
-rw-r--r--include/amqqueue.hrl18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/amqqueue.hrl b/include/amqqueue.hrl
index 5f873082e5..3a9ac45cce 100644
--- a/include/amqqueue.hrl
+++ b/include/amqqueue.hrl
@@ -65,15 +65,15 @@
-define(amqqueue_has_valid_pid(Q),
((?is_amqqueue_v2(Q) andalso
- is_pid(?amqqueue_v2_field_pid(Q))) orelse
- (?is_amqqueue_v1(Q) andalso
- is_pid(?amqqueue_v1_field_pid(Q))))).
+ is_pid(?amqqueue_v2_field_pid(Q))) orelse
+ (?is_amqqueue_v1(Q) andalso
+ is_pid(?amqqueue_v1_field_pid(Q))))).
-define(amqqueue_pid_runs_on_local_node(Q),
((?is_amqqueue_v2(Q) andalso
- node(?amqqueue_v2_field_pid(Q)) =:= node()) orelse
- (?is_amqqueue_v1(Q) andalso
- node(?amqqueue_v1_field_pid(Q)) =:= node()))).
+ node(?amqqueue_v2_field_pid(Q)) =:= node()) orelse
+ (?is_amqqueue_v1(Q) andalso
+ node(?amqqueue_v1_field_pid(Q)) =:= node()))).
-define(amqqueue_pid_equals(Q, Pid),
((?is_amqqueue_v2(Q) andalso
@@ -108,9 +108,9 @@
-define(amqqueue_vhost_equals(Q, VHost),
((?is_amqqueue_v2(Q) andalso
- ?amqqueue_v2_vhost(Q) =:= VHost) orelse
- (?is_amqqueue_v1(Q) andalso
- ?amqqueue_v1_vhost(Q) =:= VHost))).
+ ?amqqueue_v2_vhost(Q) =:= VHost) orelse
+ (?is_amqqueue_v1(Q) andalso
+ ?amqqueue_v1_vhost(Q) =:= VHost))).
-ifdef(DEBUG_QUORUM_QUEUE_FF).
-define(enable_quorum_queue_if_debug,