Skip to content

Commit ad7c0ef

Browse files
committed
Stream coord: increase sleep on certain failures
1 parent ed95bd9 commit ad7c0ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deps/rabbit/src/rabbit_stream_coordinator.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,6 +1468,8 @@ select_leader(Offsets) ->
14681468

14691469
maybe_sleep({{nodedown, _}, _}) ->
14701470
timer:sleep(5000);
1471+
maybe_sleep({noproc, _}) ->
1472+
timer:sleep(5000);
14711473
maybe_sleep(_) ->
14721474
ok.
14731475

0 commit comments

Comments
 (0)