diff --git a/deps/amqp_client/src/amqp_util.erl b/deps/amqp_client/src/amqp_util.erl index 0324d4a17143..996fbcd7f48d 100644 --- a/deps/amqp_client/src/amqp_util.erl +++ b/deps/amqp_client/src/amqp_util.erl @@ -9,7 +9,7 @@ call_timeout() -> undefined -> Timeout = rabbit_misc:get_env(amqp_client, gen_server_call_timeout, - 60000), + safe_call_timeout(60000)), put(gen_server_call_timeout, Timeout), Timeout; Timeout ->