Expose timeout for nodes_info requests in the REST interface
Closes #3191
This commit is contained in:
parent
a30d58aae2
commit
27a8083b7d
|
@ -101,6 +101,7 @@ public class RestNodesInfoAction extends BaseRestHandler {
|
||||||
nodesInfoRequest.transport(request.paramAsBoolean("transport", nodesInfoRequest.transport()));
|
nodesInfoRequest.transport(request.paramAsBoolean("transport", nodesInfoRequest.transport()));
|
||||||
nodesInfoRequest.http(request.paramAsBoolean("http", nodesInfoRequest.http()));
|
nodesInfoRequest.http(request.paramAsBoolean("http", nodesInfoRequest.http()));
|
||||||
nodesInfoRequest.plugin(request.paramAsBoolean("plugin", nodesInfoRequest.plugin()));
|
nodesInfoRequest.plugin(request.paramAsBoolean("plugin", nodesInfoRequest.plugin()));
|
||||||
|
nodesInfoRequest.timeout( request.paramAsTime("timeout", nodesInfoRequest.timeout()));
|
||||||
|
|
||||||
executeNodeRequest(request, channel, nodesInfoRequest);
|
executeNodeRequest(request, channel, nodesInfoRequest);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue