Skip to content

Commit

Permalink
Reset deferred queue length on change (#1868)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsumner authored Jul 25, 2023
1 parent ba58a97 commit b02f24e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/riak_kv_replrtq_snk.erl
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ handle_call({worker_count, QueueN, WorkerCount, PerPeerLimit}, _From, State) ->
SinkWork0 =
SinkWork#sink_work{work_queue = WorkQueue,
minimum_queue_length = QueueLength,
deferred_queue_length = 0,
max_worker_count = WorkerCount},
W0 =
lists:keyreplace(QueueN, 1, State#state.work,
Expand Down

0 comments on commit b02f24e

Please sign in to comment.