Skip to content

Conversation

@NoDiskInDriveA
Copy link
Contributor

@NoDiskInDriveA NoDiskInDriveA commented May 25, 2024

Helps a bit with finding out why task:init waits forever :)

fi

if ! (( counter % 5 )); then
echo "Waiting for database to become available: '${command}'"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Careful about printing the database password out for mysql. Maybe direct to stderr too?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
echo "Waiting for database to become available: '${command}'"
echo "Waiting for database '$DB_HOST' to become available" >&2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants