Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Delete locks whenever jobs are removed via web UI. #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dychen
Copy link

@dychen dychen commented Apr 26, 2014

@krasnoukhov
For this: #10


def delete_ext
cklass = klass.constantize
cklass.unlock!(args.first) if cklass.respond_to? :lock
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this supports only workers with manual option. Can we make it work with regular ones as well?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, unlock! is not something that UniqueJobs provides. This is just an example.

@dychen
Copy link
Author

dychen commented Apr 26, 2014

Good points. I'll work on those later this week (I'm a bit caught up on other things atm). :)

@krasnoukhov
Copy link
Owner

No problem. Thanks for your help! Let me know if you need something.

@aroundzw
Copy link

aroundzw commented Jun 3, 2014

@dychen good catch, exactly what we need:)

@krasnoukhov
Copy link
Owner

Hey @dychen, any progress on this? I'd like to merge & release this, but lack of tests is stopping me.

@dychen
Copy link
Author

dychen commented Jun 17, 2014

Really sorry, bro. I've been caught up with new job stuff. I'll get on it ASAP.

@aroundzw
Copy link

@dychen it does not work for me when I delete jobs from Sidekiq web monitoring. Temporarily, I'm cleaning up Redis to make it work.

@stupied4ever
Copy link

Hey guys, any change of merge this?

[]'s

@bbonamin
Copy link
Contributor

any news about this PR? does it work properly?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants