Skip to content

Commit 1905e30

Browse files
Bump call timeout to 60s
To match default server heartbeat timeout. While at it, increase initial connection timeout to 60s to match (heartbeat timeout doesn't matter here specifically but related in general).
1 parent c6e5a10 commit 1905e30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deps/amqp_client/include/amqp_client.hrl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
channel_max = 0,
3131
frame_max = 0,
3232
heartbeat = 10,
33-
connection_timeout = 30000,
33+
connection_timeout = 60000,
3434
ssl_options = none,
3535
auth_mechanisms =
3636
[fun amqp_auth_mechanisms:plain/3,

deps/amqp_client/include/amqp_client_internal.hrl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@
3737
{<<"authentication_failure_close">>, bool, true}]).
3838

3939
-define(CALL_TIMEOUT, rabbit_misc:get_env(amqp_client, gen_server_call_timeout,
40-
30000)).
40+
60000)).
4141

0 commit comments

Comments
 (0)