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
When calling connection.close() on the wrapper and the rabbit connection is currently down, there is a 5 seconds delay before the connection dies. This makes the nodejs process hang until that happens.
My guess is this due to a reconnect setTimeout() pending. Close() should clear this timeout to allow the node process to exit in a timely manner.
The text was updated successfully, but these errors were encountered:
MartinWickman
changed the title
Connection.close() should clear timeouts
Connection.close() hangs until reconnect attempt is made.
Sep 26, 2019
MartinWickman
changed the title
Connection.close() hangs until reconnect attempt is made.
Connection.close() hangs until reconnect attempt is completed.
Sep 26, 2019
When calling
connection.close()
on the wrapper and the rabbit connection is currently down, there is a 5 seconds delay before the connection dies. This makes the nodejs process hang until that happens.My guess is this due to a reconnect
setTimeout()
pending. Close() should clear this timeout to allow the node process to exit in a timely manner.The text was updated successfully, but these errors were encountered: