Unlock jobs when queue is deleted
sasharevzin opened this issue · 2 comments
sasharevzin commented
Is your feature request related to a problem? Please describe.
Yes, when the queue is deleted from the Sidekiq dashboard, it doesn't unlock the locks.
Describe the solution you'd like
Override Sidekiq delete queue method to unlock the locks.
Describe alternatives you've considered
I had to delete all locks for all queues to fix the unlocking issue.
Additional context
It might be a very expensive operation to get all locks from the deleted queue, but I would like to hear the other solutions.
sasharevzin commented
Must be something to do with this endpoint
mhenrixon commented
Cheers for reporting! I'll look into it