jbrisbin/lager_amqp_backend — pull request #3 by zmstone (2012-04-13 20:43:50+00:00)
Title: add group to manage connection pid

in some tricky case (observed several times, couldn't reproduce though), it opens a lot of connections, but only one of them has channel opened.
and quickly (due to log flushing maybe), it eats up all the socket descriptors in rabbit-server.

normally not the case, but if you manage to get the channel pid and call amqp_channel:close, it'll end up with a 'zombie' connection.

hope this change could fix that problem.