Skip to content

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
Contributor

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
Contributor

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.

2 participants