node-amqp icon indicating copy to clipboard operation
node-amqp copied to clipboard

hitting max channel id limit

Open poseyj opened this issue 11 years ago • 1 comments

I am creating a single amqp connection, and creating queues from it. I have set the close channel on unsubscribe channel and am calling unsubscribe when done processing the message. However the channel id's keep increasing and eventually the calls start failing b/c I've reached the max limit on channel id's. Is there something else I should be doing to close the channels?

poseyj avatar Sep 24 '14 14:09 poseyj

you should create the channel connection once and reuse it for each subsequent request. reference: #247

AliUz avatar Apr 29 '15 08:04 AliUz