Merge pull request #3192 from clintongormley/nodes_info_timeout
Expose timeout for nodes_info requests in the REST interface
This commit is contained in:
commit
2f616e3c2a
|
@ -101,6 +101,7 @@ public class RestNodesInfoAction extends BaseRestHandler {
|
|||
nodesInfoRequest.transport(request.paramAsBoolean("transport", nodesInfoRequest.transport()));
|
||||
nodesInfoRequest.http(request.paramAsBoolean("http", nodesInfoRequest.http()));
|
||||
nodesInfoRequest.plugin(request.paramAsBoolean("plugin", nodesInfoRequest.plugin()));
|
||||
nodesInfoRequest.timeout( request.paramAsTime("timeout", nodesInfoRequest.timeout()));
|
||||
|
||||
executeNodeRequest(request, channel, nodesInfoRequest);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue