summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2019-02-12 12:20:45 -0500
committerJosh Soref <jsoref@users.noreply.github.com>2019-02-12 12:20:45 -0500
commita98cc44754d6a4a2f8660d46f52f885bffb60518 (patch)
treede18a64949c077c0f1e8a2e389da34cf054acde4 /src
parentd836f5dd0cd38759da5103240f787adaed3ba783 (diff)
downloadrabbitmq-server-git-a98cc44754d6a4a2f8660d46f52f885bffb60518.tar.gz
spelling: priority
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_amqqueue_process.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index c3ba4a5c59..0cd8de8831 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -1195,7 +1195,7 @@ prioritise_cast(Msg, _Len, State) ->
%% will be rate limited by how fast consumers receive messages -
%% i.e. by notify_sent. We prioritise ack and resume to discourage
%% starvation caused by prioritising notify_sent. We don't vary their
-%% prioritiy since acks should stay in order (some parts of the queue
+%% priority since acks should stay in order (some parts of the queue
%% stack are optimised for that) and to make things easier to reason
%% about. Finally, we prioritise ack over resume since it should
%% always reduce memory use.