From 27a8083b7d84ba3872213fa37948b645b02c1518 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Sat, 15 Jun 2013 19:01:09 +0200 Subject: [PATCH] Expose timeout for nodes_info requests in the REST interface Closes #3191 --- .../rest/action/admin/cluster/node/info/RestNodesInfoAction.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/elasticsearch/rest/action/admin/cluster/node/info/RestNodesInfoAction.java b/src/main/java/org/elasticsearch/rest/action/admin/cluster/node/info/RestNodesInfoAction.java index 20057d11d33..7389805a445 100644 --- a/src/main/java/org/elasticsearch/rest/action/admin/cluster/node/info/RestNodesInfoAction.java +++ b/src/main/java/org/elasticsearch/rest/action/admin/cluster/node/info/RestNodesInfoAction.java @@ -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); }