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

MAP-1937 give jobs longer time to complete. #744

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

GurnankCheema
Copy link
Contributor

The Email reminder cron job fails intermittently. Not sure of the exact cause but have noticed that jobs sometimes run very close to their 300 second 'active' time.

This code change:
Gives Jobs a longer time, 600 seconds, before they are treated as failed, see activeDeadlineSeconds

Cleans up completed job at 100 seconds, see ttlSecondsAfterFinished

We currently run jobs every 5 mins. Have increased that to 15 mins just so that they don't overlap with any currently running jobs

@GurnankCheema GurnankCheema merged commit d9c7fae into main Dec 16, 2024
9 checks passed
@GurnankCheema GurnankCheema deleted the MAP-1937-UoF-send-reminder-cron-bug branch December 16, 2024 08:09
GurnankCheema added a commit that referenced this pull request Dec 16, 2024
GurnankCheema added a commit that referenced this pull request Dec 16, 2024
* Revert "MAP-1937 move ttlSecondsAfterFinished to correct nest (#745)"

This reverts commit 719b6c8.

* Revert "MAP-1937 give jobs longer time to complete.  (#744)"

This reverts commit d9c7fae.
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.

2 participants