Skip to content

Ensure agent does not receive new work in runOnce mode#2728

Merged
jtpetty merged 2 commits into
masterfrom
users/alpeck/runonce_fix
Jan 21, 2020
Merged

Ensure agent does not receive new work in runOnce mode#2728
jtpetty merged 2 commits into
masterfrom
users/alpeck/runonce_fix

Conversation

@alex-peck
Copy link
Copy Markdown
Contributor

Send back whether the agent is going to be shutting down as soon as we report work is finished.

This way the server will know not to send new work to the agent in the time between the JobCompletedEvent and process shutdown.

@alex-peck
Copy link
Copy Markdown
Contributor Author

Fixes #2332

@jtpetty
Copy link
Copy Markdown

jtpetty commented Jan 21, 2020

LGTM

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