You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2012/01/21 20:43:39 UTC
svn commit: r1234405 -
/lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/common/cloud/ZkCmdExecutor.java
Author: markrmiller
Date: Sat Jan 21 19:43:38 2012
New Revision: 1234405
URL: http://svn.apache.org/viewvc?rev=1234405&view=rev
Log:
should not need to cap this anymore
Modified:
lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/common/cloud/ZkCmdExecutor.java
Modified: lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/common/cloud/ZkCmdExecutor.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/common/cloud/ZkCmdExecutor.java?rev=1234405&r1=1234404&r2=1234405&view=diff
==============================================================================
--- lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/common/cloud/ZkCmdExecutor.java (original)
+++ lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/common/cloud/ZkCmdExecutor.java Sat Jan 21 19:43:38 2012
@@ -105,7 +105,7 @@ public class ZkCmdExecutor {
*/
protected void retryDelay(int attemptCount) throws InterruptedException {
if (attemptCount > 0) {
- Thread.sleep(Math.max(10000, attemptCount * retryDelay));
+ Thread.sleep(attemptCount * retryDelay);
}
}