Skip to content

Commit 25b6ce1

Browse files
committed
Fix typo in ensure_safe_call_timeout
Matching on `ignored` instead of `ignore`, as described in the documentation of net_kernel:get_net_ticktime/0. https://erlang.org/doc/man/net_kernel.html#get_net_ticktime-0
1 parent e610393 commit 25b6ce1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/amqp_client/src/amqp_connection.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ ensure_safe_call_timeout(#amqp_params_direct{}, CallTimeout) ->
405405
{ongoing_change_to, NetTicktime} ->
406406
maybe_update_call_timeout(tick_or_direct_timeout(NetTicktime * 1000),
407407
CallTimeout);
408-
ignore ->
408+
ignored ->
409409
maybe_update_call_timeout(?DIRECT_OPERATION_TIMEOUT, CallTimeout)
410410
end.
411411

0 commit comments

Comments
 (0)