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

Add ability to configure the past scheduled time threshold #465

Merged

Conversation

fatkodima
Copy link
Contributor

Closes #463.

Naming is hard, so probably people can suggest a better name for this configuration option.

I also refactored a bit the relevant methods to avoid double negation and be simpler to understand.

@markets
Copy link
Member

markets commented Apr 21, 2024

Seems fine @fatkodima

Let's leave it open some days, so we can think a bit on the naming.

@kevinrobell-st
Copy link
Contributor

Maybe something like "reschedule grace period" would make more sense in terms of naming.

@markets
Copy link
Member

markets commented Apr 22, 2024

Like it @kevinrobell-st! What's your thoughts @fatkodima?

@fatkodima fatkodima force-pushed the past_scheduled_time_threshold branch from 290c678 to 334eef9 Compare April 22, 2024 18:40
@fatkodima
Copy link
Contributor Author

Like it! Switched to that name, thank you ❤️

@markets markets merged commit d409af4 into sidekiq-cron:master Apr 22, 2024
12 checks passed
@markets
Copy link
Member

markets commented Apr 22, 2024

Thanks @fatkodima 🙌

@fatkodima fatkodima deleted the past_scheduled_time_threshold branch May 12, 2024 10:33
@sensorsasha
Copy link

Hey @markets, is it planned to cut a release with the changes from this PR?

@markets
Copy link
Member

markets commented May 16, 2024

Hopefully soon! In the meantime, you can point the gem to GitHub master branch:

gem 'sidekiq-cron', github: 'sidekiq-cron/sidekiq-cron'

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

Successfully merging this pull request may close these issues.

Ability to configure the past schedule interval
4 participants