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/35877
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0/mitaka
Commit: 895f0bcbf3f612d 1fd2bb43d3581e7 8a1d95df74
Author: Dmitry Mescheryakov <email address hidden>
Date: Thu Jul 6 16:04:27 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