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

Improve start speed and decrease celery processes #739

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

jtronge
Copy link
Collaborator

@jtronge jtronge commented Nov 1, 2023

I think this should address #736 and #737. The Redis container is now unpacked before the core goes into the background, and celery should only be launching a single process.

This now unpacks the Redis container before daemonizing so that the user
can immediately query for status of the core. Celery now uses
--pool=solo to avoid launching multiple processes.
Copy link
Collaborator

@pagrubel pagrubel left a comment

Choose a reason for hiding this comment

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

This is much better, no extra celery process and runs faster so when I start beeflow core, I can immediately turn around and issue beeflow core status

@pagrubel pagrubel merged commit 50d63c2 into develop Nov 1, 2023
4 checks passed
@pagrubel pagrubel deleted the start-time-celery branch November 1, 2023 22:23
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.

2 participants