Repository navigation
add asynchronous to states.saltmod - #50696
Merged
Merged
Conversation
mattp-
force-pushed
the
async-saltmod
branch
from
November 30, 2018 01:37
7b665fa to
03c54a2
Compare
mattp-
force-pushed
the
async-saltmod
branch
3 times, most recently
from
December 2, 2018 18:55
46cfad1 to
d9adb47
Compare
this exposes the cmd_async functionality of each client that saltmod wraps in the saltmod state. The idea of this being fire and forget, wherein you can either store that runs jid for later processing, or do nothing if you don't care. Without this, you must pay the round trip penalty of waiting for the full job to complete.
cachedout
approved these changes
Dec 3, 2018
cachedout
left a comment
Contributor
There was a problem hiding this comment.
This appears to be very smartly done. I like it!
garethgreenaway
added a commit
to garethgreenaway/salt
that referenced
this pull request
Sep 18, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
this exposes the cmd_async functionality of each client that saltmod
wraps in the saltmod state. The idea of this being fire and forget,
wherein you can either store that runs jid for later processing, or do
nothing if you don't care. Without this, you must pay the round trip
penalty of waiting for the full job to complete.
Tests written?
Yes
Commits signed with GPG?
No
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.