node-amqp
node-amqp copied to clipboard
hitting max channel id limit
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?
you should create the channel connection once and reuse it for each subsequent request. reference: #247