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

[CPL-283] Add Disable Jobs Property #213

Merged
merged 11 commits into from
Nov 27, 2024
Merged

Conversation

yijun-lin
Copy link
Contributor

@yijun-lin yijun-lin commented Nov 22, 2024

Context

While implementing maintenance mode for payout service, we notice that there isn't a flag for enable/disable Jobs.

This PR:

  • add disable job property
  • stops register and resuming Jobs when disabled
  • add new property for task cleaner
  • use existing autoStartProcessing for enable / disable task resumer

Checklist

@yijun-lin yijun-lin marked this pull request as ready for review November 22, 2024 14:43
@yijun-lin yijun-lin requested a review from a team as a code owner November 22, 2024 14:43
Copy link

@maru-tw maru-tw left a comment

Choose a reason for hiding this comment

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

Was it a concious decision to split the disabling of jobs and tasks?

Is there an option of one parameter to be set that would "halt" processing for all tasks, jobs?

@yijun-lin yijun-lin changed the title add disable jobs property [CPL-283] Add Disable Jobs Property Nov 25, 2024
@yijun-lin yijun-lin merged commit c3ceb1d into master Nov 27, 2024
13 checks passed
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.

5 participants