Skip to content

Commit

Permalink
Add RabbitMQ status to health check
Browse files Browse the repository at this point in the history
  • Loading branch information
paulyhedral committed Jan 19, 2023
1 parent 2be43b7 commit a2ef7fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/statesman_discord/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ def create_app(app_name=constants.APPLICATION_NAME):

app.register_blueprint(verify_blueprint)

from statesman_discord.blueprints.health import blueprint as health_blueprint
from statesman_discord.blueprints.health import blueprint as health_blueprint, register_health_check_service_hook
from statesman_discord.messaging.healthcheck import health_check as messaging_health_check

register_health_check_service_hook("messaging", messaging_health_check)
app.register_blueprint(health_blueprint)

from statesman_discord.messaging.consumer import consumer_thread
Expand Down

0 comments on commit a2ef7fb

Please sign in to comment.