Merge pull request #3270 from benhbasis/patch-1

Update Server.java
This commit is contained in:
Richard Cordovano 2017-12-06 12:01:24 -05:00 committed by GitHub
commit b58c91b8bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1248,8 +1248,8 @@ public class Server {
// socket read timeout, make large enough so can index larger files
solrCore.setSoTimeout(QUERY_TIMEOUT_MILLISECONDS);
//solrCore.setConnectionTimeout(1000);
solrCore.setDefaultMaxConnectionsPerHost(2);
solrCore.setMaxTotalConnections(5);
solrCore.setDefaultMaxConnectionsPerHost(32);
solrCore.setMaxTotalConnections(32);
solrCore.setFollowRedirects(false); // defaults to false
// allowCompression defaults to false.
// Server side must support gzip or deflate for this to have any effect.