Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz authored Jul 11, 2024
1 parent 152cbba commit 8c5f76e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

exec rabbitmq-diagnostics check_running > /dev/null
exec rabbitmq-diagnostics is_running > /dev/null
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ foreground { s6-echo "Starting RMQ server and notifying back when the service is
# it is possible it tries to connect to the service before that and it will configure the profile without a broker.
# Here we use s6-notifyoncheck to do the polling healthy check of the readyness of RMQ service.
#
# -w 500: 500 ms between two invocations of ./data/check
# -w 1000: 1000 ms between two invocations of ./data/check

s6-notifyoncheck -w 500 rabbitmq-server
s6-notifyoncheck -w 1000 rabbitmq-server

0 comments on commit 8c5f76e

Please sign in to comment.