From 2389d5a354712b521e580c06d20270f132efce6a Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Fri, 4 Jan 2013 16:40:52 +0000 Subject: [PATCH] fix reversed conn and so timeouts - currently used for tests git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428963 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/java/org/apache/solr/update/UpdateShardHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solr/core/src/java/org/apache/solr/update/UpdateShardHandler.java b/solr/core/src/java/org/apache/solr/update/UpdateShardHandler.java index c3d1499c8d1..051e11f9120 100644 --- a/solr/core/src/java/org/apache/solr/update/UpdateShardHandler.java +++ b/solr/core/src/java/org/apache/solr/update/UpdateShardHandler.java @@ -44,8 +44,8 @@ public class UpdateShardHandler { ModifiableSolrParams params = new ModifiableSolrParams(); params.set(HttpClientUtil.PROP_MAX_CONNECTIONS, 500); params.set(HttpClientUtil.PROP_MAX_CONNECTIONS_PER_HOST, 16); - params.set(HttpClientUtil.PROP_SO_TIMEOUT, distribUpdateConnTimeout); - params.set(HttpClientUtil.PROP_CONNECTION_TIMEOUT, distribUpdateSoTimeout); + params.set(HttpClientUtil.PROP_SO_TIMEOUT, distribUpdateSoTimeout); + params.set(HttpClientUtil.PROP_CONNECTION_TIMEOUT, distribUpdateConnTimeout); client = HttpClientUtil.createClient(params); }