TogetherCrew / discord-bot

2 stars 1 forks source link

Implement Health Check for RabbitMQ Connection #161

Open Behzad-rabiei opened 4 months ago

Behzad-rabiei commented 4 months ago

Description:

Currently, our system does not automatically check or handle the status of its connection to RabbitMQ. This can lead to situations where the service remains disconnected without attempting to re-establish a lost connection, impacting the reliability of our application.

Solution:

Implement a health check mechanism that monitors the RabbitMQ connection status every minute. If a disconnection is detected, the system should automatically attempt to reconnect. This will ensure our application maintains a stable connection to RabbitMQ, enhancing overall reliability and resilience.