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

Add an option to configure Job specific timeout values #206

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

Conversation

maluchari
Copy link
Collaborator

Summary

Current default value of timeout is 12 hours. Since how long an entire job can take depend on number of tables and also on concurreny, making the timeout configurable in this PR.

Changes

  • Client-facing API Changes
  • Internal API Changes
  • Bug Fixes
  • New Features
  • Performance Improvements
  • Code Style
  • Refactoring
  • Documentation
  • Tests

For all the boxes checked, please include additional details of the changes made in this pull request.

Testing Done

  • Manually Tested on local docker setup. Please include commands ran, and their output.
  • Added new tests for the changes made.
  • Updated existing tests to reflect the changes made.
  • No tests added or updated. Please explain why. If unsure, please feel free to ask for help.
  • Some other form of testing like staging or soak time in production. Please explain.

For all the boxes checked, include a detailed description of the testing done for the changes made in this pull request.

Additional Information

  • Breaking Changes
  • Deprecations
  • Large PR broken into smaller PRs, and PR plan linked in the description.

For all the boxes checked, include additional details of the changes made in this pull request.

Copy link
Collaborator

@teamurko teamurko left a comment

Choose a reason for hiding this comment

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

Thank you for the change, I have minor naming suggestions

@@ -63,7 +63,7 @@
*/
@Slf4j
public class JobsScheduler {
private static final int TASKS_WAIT_TIMEOUT_HOURS = 12;
private static final int DEFAULT_TASKS_WAIT_TIMEOUT_HOURS = 12;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
private static final int DEFAULT_TASKS_WAIT_TIMEOUT_HOURS = 12;
private static final int DEFAULT_TASKS_WAIT_HOURS = 12;

teamurko
teamurko previously approved these changes Sep 20, 2024
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.

3 participants