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

Configurable stale job data timeout #417

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

DrJosh9000
Copy link
Contributor

@DrJosh9000 DrJosh9000 commented Nov 14, 2024

poll-interval is probably not be the ideal timeout for stale job data in many cases, so make it configurable and default it to 10s (duration chosen by guesswork).

Increasing the timeout means more jobs from the same GraphQL query can be created before the next poll, but increases the chances of scheduling an already-cancelled job as a pod.

Copy link
Contributor

@SorchaAbel SorchaAbel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@DrJosh9000 DrJosh9000 merged commit cde8d3f into main Nov 14, 2024
1 check passed
@DrJosh9000 DrJosh9000 deleted the configurable-stale-job-data-timeout branch November 14, 2024 06:08
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