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

Allow to start multi schedulers #170

Closed
wants to merge 3 commits into from
Closed

Allow to start multi schedulers #170

wants to merge 3 commits into from

Conversation

xzander
Copy link

@xzander xzander commented Sep 19, 2017

Here is PR to lock for multi schedulers without register birth and death.
When first scheduler starts, another wait for lock. While first one is working it prolongs lock's expire time more then _interval. So second scheduler is allowed to get lock only when first one is dead.

@selwin
Copy link
Collaborator

selwin commented Jan 31, 2018

Having the ability for multiple schedulers to run simultaneously is something I want to have. However, each scheduler still needs to register their births and deaths so we can keep track of active schedulers (similar to how RQ does it) https://github.com/rq/rq/blob/master/rq/worker.py#L272

Could you please update the PR accordingly?

@selwin
Copy link
Collaborator

selwin commented Apr 24, 2020

Fixed in #212

@selwin selwin closed this Apr 24, 2020
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