sibson / redbeat

RedBeat is a Celery Beat Scheduler that stores the scheduled tasks and runtime metadata in Redis.
Apache License 2.0
922 stars 130 forks source link

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

Open sankforever opened 2 years ago

sankforever commented 2 years ago

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 commented 2 years ago

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.