Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ready notification #66

Merged
merged 9 commits into from
Aug 16, 2024
Merged

Ready notification #66

merged 9 commits into from
Aug 16, 2024

Conversation

holesch
Copy link
Owner

@holesch holesch commented Aug 16, 2024

No description provided.

Hub, Exporter and Agent now write a single line to stdout, which can be
used as a ready notification for the service supervisor.

For systemd, you can use a wrapper like
https://github.com/holesch/sdnotify-wrapper-py
Move startup logic out of ASGI lifespan handler.
Wait for the services to print a line to stdout, instead of waiting for
the port to be opened.
Without arguments, parentheses are optional. Remove them to fix ruff
PT001 findings.
Having the timeout in polling functions makes them easier to use.
The "I" in "CLI" already stands for interface.
Root user is no longer only required for exporting.
Remove the leftover word from the last rewrite.
With socket activation, the ready notification isn't useful, because the
socket is ready before the Agent is started. Disable the ready
notification in that case.
@holesch holesch merged commit 0422820 into master Aug 16, 2024
8 of 9 checks passed
@holesch holesch deleted the ready-notification branch August 16, 2024 17:00
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