mirror of https://github.com/apache/lucene.git
set a timeout on this solrserver as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237297 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
50534a52b2
commit
6b2b5c5cab
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue