Skip to content

Configurable max attempt | Failed flag | Bugfix for queue #7

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Configurable max attempt | Failed flag | Bugfix for queue #7

wants to merge 3 commits into from

Conversation

hoekstramenno
Copy link

  1. First the table is updated with a new 'datetime' column called 'failed'. This one is showing the date when the job hits the maximum. This is useful for debugging and/or making queries.

  2. The max attempts was hardcoded in the query. It is now a configurable value. If the max attempts is reached, update the failed column with the current datetime.

  3. Bugfix: when a job is failed (max attempts is reached) it was not possible to add the same class/method.

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.

1 participant