Skip to content

Change: simpler command for 'wait service' busy loop#87

Draft
p-gentili wants to merge 4 commits intomainfrom
wait-service-ready
Draft

Change: simpler command for 'wait service' busy loop#87
p-gentili wants to merge 4 commits intomainfrom
wait-service-ready

Conversation

@p-gentili
Copy link
Copy Markdown
Contributor

This scriplet is currently abusing a _run_retry to make sure the service is up and running and being restarted. While the end result is fine, there's no real need to retry that command in particular, and the errors printed while the service is starting are misleading and creates confusion to the user.

This PR makes use of a simpler command (a getter) as busy loop, redirecting both stdout and stderr to /dev/null.

@p-gentili p-gentili marked this pull request as draft September 23, 2025 07:29
@p-gentili
Copy link
Copy Markdown
Contributor Author

There are pending changes on the service side that would impact this function yet again, let's keep it draft for the time being.

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.

1 participant