summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2019-02-12 11:53:33 -0500
committerJosh Soref <jsoref@users.noreply.github.com>2019-02-12 11:53:33 -0500
commit0ca363d53754d69bafccb890760d17aea700e826 (patch)
tree223c50427ecbbe3d756a1c5b298ed43ec47f9d01
parent29d8a782563af7b80b9290fcf33b051d6ff2bebb (diff)
downloadrabbitmq-server-git-0ca363d53754d69bafccb890760d17aea700e826.tar.gz
spelling: compared
-rw-r--r--src/rabbit_queue_index.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_queue_index.erl b/src/rabbit_queue_index.erl
index e4047a9902..61373e49c1 100644
--- a/src/rabbit_queue_index.erl
+++ b/src/rabbit_queue_index.erl
@@ -355,7 +355,7 @@ pre_publish(MsgOrId, SeqId, MsgProps, IsPersistent, IsDelivered, JournalSizeHint
State1#qistate{pre_publish_cache = PPC1,
delivered_cache = DC1})).
-%% pre_publish_cache is the entry with most elements when comapred to
+%% pre_publish_cache is the entry with most elements when compared to
%% delivered_cache so we only check the former in the guard.
maybe_flush_pre_publish_cache(JournalSizeHint,
#qistate{pre_publish_cache = PPC} = State)