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

Different Application sharing same redis instance #272

Open
lee-jian-hui opened this issue Mar 4, 2024 · 1 comment
Open

Different Application sharing same redis instance #272

lee-jian-hui opened this issue Mar 4, 2024 · 1 comment

Comments

@lee-jian-hui
Copy link

How can i properly use redbeat to handle different celery instances sharing the same redis instance?

In my case, the redbeat will lock the scheduler associated with app A and then the scheduler with app B is not able to lock. But logically, they are separate celery instances, why will the lock persist through different celery instances?

@wowkin2
Copy link

wowkin2 commented Oct 27, 2024

Do they use separate Redis databases (last argument in connection URL: 0, 1, 2)?
redis://redis:6379/0

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

No branches or pull requests

2 participants