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

Fixes #10152: Missing async option in the doc #283

Conversation

amousset
Copy link
Member

@@ -41,6 +41,7 @@ This API provides the following methods:
The general parameters are:

* `keep_output` = *true* or *false*: Should the agent output be returned (default: *false*)
* `asynchronous` = *true* or *false*: If `keep_output` is true, should the output be returned as it is produced (contrary to waiting for the end of the run). If it is false, should the call return just after starting the agent, without waiting for the end. (default: *false*)
Copy link
Member

Choose a reason for hiding this comment

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

In all cases, even if we don't keep_output, if asynchronous is 'false' we wait for return of 'query' or 'command', asynchronous without output returns directly, meaning you don't have to wait to check if it has run correctly on your xxxx nodes (which can be quite long)

@amousset
Copy link
Member Author

Commit modified

@amousset amousset force-pushed the ust_10152/missing_async_option_in_the_doc branch from 5cf3cd2 to 470764c Compare February 13, 2017 13:53
@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 470764c into Normation:branches/rudder/4.1 Feb 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants