You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because the default timeout for the synchronous GenServer.call/3 for :checkout_channel is 5000ms.
I'm not sure whether this is intended behaviour, or whether the timeout for getting a channel should be configurable, or possibly whether that call should be asynchronous along with a configurable timeout.
The text was updated successfully, but these errors were encountered:
getting a channel can be configurable, that would be a great PR, maybe passing a keyword options to set the timeout so it can be modified in each case independently with 5sec default
During some load testing for our application, I ran into crashes like the following when calling
ExRabbitPool.with_channel
:{:timeout, {GenServer, :call, [#PID<0.2333.0>, :checkout_channel, 5000]}}" (elixir 1.11.2) lib/gen_server.ex:1027: GenServer.call/3
This is because the default timeout for the synchronous
GenServer.call/3
for:checkout_channel
is 5000ms.I'm not sure whether this is intended behaviour, or whether the timeout for getting a channel should be configurable, or possibly whether that call should be asynchronous along with a configurable timeout.
The text was updated successfully, but these errors were encountered: