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/29 15:27:59 UTC

svn commit: r1237297 - /lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java

Author: markrmiller
Date: Sun Jan 29 14:27:58 2012
New Revision: 1237297

URL: http://svn.apache.org/viewvc?rev=1237297&view=rev
Log:
set a timeout on this solrserver as well

Modified:
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java?rev=1237297&r1=1237296&r2=1237297&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java Sun Jan 29 14:27:58 2012
@@ -321,6 +321,8 @@ public class SolrCmdDistributor {
   
           CommonsHttpSolrServer server = new CommonsHttpSolrServer(fullUrl,
               client);
+          server.setConnectionTimeout(30000);
+          server.setSoTimeout(30000);
           
           clonedRequest.ursp = server.request(clonedRequest.ureq);