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
amqplib calls callback function provided to connect twice in some cases (e.g. when trying to connect with wrong username/password). This leads to exponential growth of retries which drains CPU and hangs application completely if retries limit is not set.
The text was updated successfully, but these errors were encountered:
It seems that the amqplib library returns multiple error callbacks when you connect with the wrong username/password, resulting in the behavior you describe. I have added a check to ignore the extra callbacks. I hope this solves the problem.
amqplib
calls callback function provided toconnect
twice in some cases (e.g. when trying to connect with wrong username/password). This leads to exponential growth of retries which drains CPU and hangs application completely if retries limit is not set.The text was updated successfully, but these errors were encountered: