diff options
| author | kjnilsson <knilsson@pivotal.io> | 2020-07-10 10:40:17 +0100 |
|---|---|---|
| committer | kjnilsson <knilsson@pivotal.io> | 2020-09-07 09:42:10 +0100 |
| commit | a5469e186c2f2d49876da49b9bee98df64ea6c73 (patch) | |
| tree | 51b781f15c6cbc1127ec8f424153f79b0f7dcc64 /src | |
| parent | c7fcee5a1f317be3f589fa739b9dbf1b6f7253ce (diff) | |
| download | rabbitmq-server-git-a5469e186c2f2d49876da49b9bee98df64ea6c73.tar.gz | |
Remove debug log statement
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_quorum_queue.erl | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/rabbit_quorum_queue.erl b/src/rabbit_quorum_queue.erl index 22333f6bdf..a8b2f1f673 100644 --- a/src/rabbit_quorum_queue.erl +++ b/src/rabbit_quorum_queue.erl @@ -158,12 +158,8 @@ ra_machine_config(Q) when ?is_amqqueue(Q) -> {Name, _} = amqqueue:get_pid(Q), %% take the minimum value of the policy and the queue arg if present MaxLength = args_policy_lookup(<<"max-length">>, fun min/2, Q), - Overflow = args_policy_lookup(<<"overflow">>, - fun (A, B) -> - rabbit_log:info("RESOLVE ~p", [{A, B}]), - A - end , Q), - rabbit_log:info("OVERFLOW ~p ARGS ~p", [Overflow, amqqueue:get_arguments(Q)]), + %% prefer the policy defined strategy if available + Overflow = args_policy_lookup(<<"overflow">>, fun (A, _B) -> A end , Q), MaxBytes = args_policy_lookup(<<"max-length-bytes">>, fun min/2, Q), MaxMemoryLength = args_policy_lookup(<<"max-in-memory-length">>, fun min/2, Q), MaxMemoryBytes = args_policy_lookup(<<"max-in-memory-bytes">>, fun min/2, Q), |
