In https://review.fuel-infra.org/#/c/35213 we delete channel once we
decide to drop current connection. That way we avoid wasting time
on trying to close the channel.
But I forgot to clean up set of declared queues for the channel.
That does not break anything, but as a result that list grows with
each reconnect, leaking memory.
Reviewed: https:/ /review. fuel-infra. org/35942
Submitter: Pkgs Jenkins <email address hidden>
Branch: mcp/1.0/mitaka
Commit: a253ebe185068e4 c8a6523c3cf00bf b83c0ef9d0
Author: Dmitry Mescheryakov <email address hidden>
Date: Wed Jul 12 11:59:12 2017
Clean up declared queues data on channel delete
In https:/ /review. fuel-infra. org/#/c/ 35213 we delete channel once we
decide to drop current connection. That way we avoid wasting time
on trying to close the channel.
But I forgot to clean up set of declared queues for the channel.
That does not break anything, but as a result that list grows with
each reconnect, leaking memory.
Related-Bug: #1689801 /mirantis. jira.com/ browse/ OSCORE- 28
Related prod: https:/
Change-Id: I2f44f070445369 ff9a1895b23ff4f ef8326e5a58