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

Feature Request: unique: :around_executing #184

Open
twetzel opened this issue Jun 6, 2016 · 1 comment
Open

Feature Request: unique: :around_executing #184

twetzel opened this issue Jun 6, 2016 · 1 comment

Comments

@twetzel
Copy link

twetzel commented Jun 6, 2016

Hey guys,

I would like to request a new feature:

sidekiq_options unique: :around_executing

with 2 optional times: (lock_before_executing & lock_after_executing)

sidekiq_options unique: :around_executing, lock_before_executing: 30.minutes, lock_after_executing: 30.min

That would be great especially for recurring jobs!
For Example when I shedule a job for 08:00 am it would be not possible to shedule another from 07:30 am to 08:30 am ... but it would be possible to shedule one at 09:00 am and another on 10:00 am.

.. thanks alot ..

Torsten

@mhenrixon
Copy link
Owner

Noted, will think about this for a bit. Should be doable given some consideration

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

No branches or pull requests

2 participants