We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 676698a commit 4d7a3feCopy full SHA for 4d7a3fe
deps/rabbit/src/rabbit_quorum_queue.erl
@@ -770,15 +770,19 @@ system_recover(quorum_queues) ->
770
end.
771
772
maybe_apply_policies(Q, #{config := CurrentConfig}) ->
773
- NewPolicyConfig = gather_policy_config(Q, false),
+ %% delivery_limit can't be updated from a policy and thus has to be
774
+ %% excluded from the comparison
775
+ NewPolicyConfig = maps:without([delivery_limit],
776
+ gather_policy_config(Q, false)),
777
778
RelevantKeys = maps:keys(NewPolicyConfig),
779
CurrentPolicyConfig = maps:with(RelevantKeys, CurrentConfig),
780
781
ShouldUpdate = NewPolicyConfig =/= CurrentPolicyConfig,
782
case ShouldUpdate of
783
true ->
- ?LOG_DEBUG("Re-applying policies to ~ts", [rabbit_misc:rs(amqqueue:get_name(Q))]),
784
+ ?LOG_DEBUG("Re-applying policies for ~ts",
785
+ [rabbit_misc:rs(amqqueue:get_name(Q))]),
786
policy_changed(Q),
787
ok;
788
false -> ok
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments