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

Allow running the schedule jobs to run in the foreground. #46544

merged 2 commits into from Mar 20, 2018


Copy link

@s0undt3ch s0undt3ch commented Mar 14, 2018

What does this PR do?

Allows the scheduler to run jobs in the foreground.

Previous Behavior

Schedule jobs always ran in the background either on a new process or a thread.

Tests written?


Commits signed with GPG?


@s0undt3ch s0undt3ch requested a review from garethgreenaway Mar 14, 2018
@@ -408,23 +408,27 @@ def run_job(self, name):

# Grab run, assume True
run = data.get('run', True)
run_jobs_in_background = self.opts.get('run_jobs_in_background', True)
Copy link
Member Author

@s0undt3ch s0undt3ch Mar 14, 2018

should it be run_schedule_jobs_in_background? On the salt side, opts is the whole set of options....

Copy link

@garethgreenaway garethgreenaway Mar 14, 2018

Should probably be run_schedule_jobs_in_background.

Copy link
Member Author

@s0undt3ch s0undt3ch Mar 16, 2018


@s0undt3ch s0undt3ch force-pushed the features/schedule-job-func branch from 0cf0fdc to fd7c14d Mar 16, 2018
Copy link

@rallytime rallytime commented Mar 20, 2018

re-run py3

@rallytime rallytime merged commit 12fd498 into saltstack:develop Mar 20, 2018
5 of 10 checks passed
@s0undt3ch s0undt3ch deleted the features/schedule-job-func branch Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants