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

Separation of Scheduler and Worker #2416

Closed
wants to merge 2 commits into from

Conversation

Himenon
Copy link

@Himenon Himenon commented Mar 28, 2018

This PR solves the following two problems.

When using docker-compose,


Background

When I used docker-compose.production.yaml, I faced a problem that no query was executed.

Apparently, the Worker seemed to have not worked well.

I simply used it as ./bin/docker-entrypoint worker but now it is no longer scheduled to run, so I added a container for scheduler.

Are there other ideas to solve these problems?

thanks.

@@ -33,6 +33,17 @@ services:
QUEUES: "queries,scheduled_queries,celery"
WORKERS_COUNT: 2
restart: always
schceduler:
Copy link

Choose a reason for hiding this comment

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

spelling

@arikfr
Copy link
Member

arikfr commented Jan 3, 2019

I don't think we need this change in docker-compose.yml as this is a development setup that should be light on processes.

As for docker-compose.production.yml see #3251.

Considering the above, I'm closing this, but thank you for the effort!

@arikfr arikfr closed this Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants