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

redis dead lock will always acquiring lock... #212

Open
sankforever opened this issue Dec 17, 2021 · 1 comment
Open

redis dead lock will always acquiring lock... #212

sankforever opened this issue Dec 17, 2021 · 1 comment

Comments

@sankforever
Copy link

I start two process,one process will get lock and another will block,and I kill -9 one process,another process will block and start new process will block too, you need delete the redis lock key...

@sibson
Copy link
Owner

sibson commented Dec 28, 2021

That sounds like the correct behaviour, you need to wait for the key to timeout before the other process can acquire it. if you want more precise control you'll need to use an external tool.

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