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

Repetitive task will stop working after max_attempts reached #296

Open
jv3ga opened this issue Apr 8, 2024 · 0 comments
Open

Repetitive task will stop working after max_attempts reached #296

jv3ga opened this issue Apr 8, 2024 · 0 comments

Comments

@jv3ga
Copy link

jv3ga commented Apr 8, 2024

Hello, I found a case when a repetitive task should not be marked as failed after it reached the max_attempts params.
Imagine, for this example, thath the MAX_ATTEMPTS param is setted to 3. And that you have two differents tasks:

  1. Run once task
  2. Run every-10-min task

After the 3 attemps the task 1 will be mark as failed, that's correct.
After the 3 attemps the task 2 will be mark as failed, and it will never run again, that's not correct, otherwise I've to check manually if the task is marked as failed, and manually add the task again to re-schedule it.

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

No branches or pull requests

1 participant