Closed Annopaolo closed 7 months ago
Attention: 35 lines
in your changes are missing coverage. Please review.
Comparison is base (
d79263b
) 67.49% compared to head (b57bf46
) 67.51%. Report is 3 commits behind head on release-1.1.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
AMQPDataConsumer leaked channels when the process did not terminate correctly. Replace the ad-hoc handling of connections and channels with the ExRabbitPool pooling library. Contexually, add an env var to customize the number of connections to the broker:
DATA_UPDATER_PLANT_AMQP_CONSUMER_CONNECTION_NUMBER
(default: 10)As DUP is still using one channel per queue, the number of channels per connection is explicitly computed as ⎡
total_queue_number
/DATA_UPDATER_PLANT_AMQP_CONSUMER_CONNECTION_NUMBER
⎤.