Skip to content

Commit 16bbee0

Browse files
Merge pull request #4560 from rabbitmq/kura-prepare-for-3.10-upgrade
Make 3.9 fifo_client forward-compatible with 3.10
2 parents a0adda2 + 2846fe7 commit 16bbee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/src/rabbit_fifo_client.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ enqueue(Correlation, Msg,
151151
0 ->
152152
%% the leader is running the old version
153153
enqueue(Correlation, Msg, State0#state{queue_status = go});
154-
1 ->
154+
N when is_integer(N) ->
155155
%% were running the new version on the leader do sync initialisation
156156
%% of enqueuer session
157157
Reg = rabbit_fifo:make_register_enqueuer(self()),

0 commit comments

Comments
 (0)