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

Display worker status #151

Merged
merged 14 commits into from Aug 15, 2023
Merged

Display worker status #151

merged 14 commits into from Aug 15, 2023

Conversation

alex-nork
Copy link
Contributor

@alex-nork alex-nork commented Aug 11, 2023

The purpose of this PR is to add a worker status indicator to the nav bar. We poll the /worker/status API endpoint every 5 seconds and return the statuses. The indicator is green when celery and rabbitmq are running, and it's red if either of them are not running. Clicking on the indicator opens a modal with details.

Aug-14-2023 12-23-13

@alex-nork alex-nork changed the title Draft: display worker status Display worker status Aug 14, 2023
Copy link
Contributor

@zimventures zimventures left a comment

Choose a reason for hiding this comment

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

👍🏻 👍🏻

Will revisit and see if we can HTMX-ify this to completely nix the .js :)

@alex-nork alex-nork merged commit 1edeeeb into main Aug 15, 2023
5 checks passed
@alex-nork alex-nork deleted the AlexN/worker-status branch August 15, 2023 13:24
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.

None yet

2 participants