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

Schedule next job at a shorter interval, if the previous job failed #349

Open
jpmckinney opened this issue Apr 27, 2024 · 0 comments
Open
Assignees
Milestone

Comments

@jpmckinney
Copy link
Member

jpmckinney commented Apr 27, 2024

Before this week, a failed job meant no other job would ever be scheduled (until the failed job was deleted). Now, a new job will be scheduled at the regular interval. However, some publications have longer retrieval frequencies. If a job fails, it can be a long time before the next attempt.

We can add logic to e.g. schedule a job if it's been a fixed amount of time since the failed job, e.g. switch to the min frequency of 1 month, instead of using the publication's frequency (unless that frequency is "NEVER").

Add relevant tests first #128

@jpmckinney jpmckinney added this to the Priority milestone May 4, 2024
@jpmckinney jpmckinney self-assigned this Nov 2, 2024
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

1 participant