You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lens.apache.org by ra...@apache.org on 2016/03/12 00:24:01 UTC
lens git commit: LENS-978: Increase default value of
lens.client.query.poll.interval for avoiding aggressive polling
Repository: lens
Updated Branches:
refs/heads/master 1216a7043 -> 149513bd4
LENS-978: Increase default value of lens.client.query.poll.interval for avoiding aggressive polling
Project: http://git-wip-us.apache.org/repos/asf/lens/repo
Commit: http://git-wip-us.apache.org/repos/asf/lens/commit/149513bd
Tree: http://git-wip-us.apache.org/repos/asf/lens/tree/149513bd
Diff: http://git-wip-us.apache.org/repos/asf/lens/diff/149513bd
Branch: refs/heads/master
Commit: 149513bd4e5c7dc6f1f6ed37400108960be8d01d
Parents: 1216a70
Author: Puneet Gupta <pu...@gmail.com>
Authored: Sat Mar 12 07:23:48 2016 +0800
Committer: raju <ra...@apache.org>
Committed: Sat Mar 12 07:23:48 2016 +0800
----------------------------------------------------------------------
lens-cli/src/test/resources/lens-client-site.xml | 6 ++++++
lens-client/src/main/resources/lens-client-default.xml | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lens/blob/149513bd/lens-cli/src/test/resources/lens-client-site.xml
----------------------------------------------------------------------
diff --git a/lens-cli/src/test/resources/lens-client-site.xml b/lens-cli/src/test/resources/lens-client-site.xml
index bf1443d..8d96faf 100644
--- a/lens-cli/src/test/resources/lens-client-site.xml
+++ b/lens-cli/src/test/resources/lens-client-site.xml
@@ -27,4 +27,10 @@
<description>The base url for the lens server</description>
</property>
+ <property>
+ <name>lens.client.query.poll.interval</name>
+ <value>1000</value>
+ <description>Interval at which query progress will be polled. Interval has to be given in milliseconds</description>
+ </property>
+
</configuration>
http://git-wip-us.apache.org/repos/asf/lens/blob/149513bd/lens-client/src/main/resources/lens-client-default.xml
----------------------------------------------------------------------
diff --git a/lens-client/src/main/resources/lens-client-default.xml b/lens-client/src/main/resources/lens-client-default.xml
index e8dbd2c..35b2d28 100644
--- a/lens-client/src/main/resources/lens-client-default.xml
+++ b/lens-client/src/main/resources/lens-client-default.xml
@@ -48,7 +48,7 @@
</property>
<property>
<name>lens.client.query.poll.interval</name>
- <value>10</value>
+ <value>10000</value>
<description>Interval at which query progress will be polled. Interval has to be given in milliseconds</description>
</property>
<property>