mirror of https://github.com/apache/lucene.git
SOLR-5954: Slower DataImportHandler process caused by not reusing jdbc connections.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587706 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c7c9fc35a1
commit
d393b2916c
|
@ -101,6 +101,8 @@ Bug Fixes
|
|||
was an exception while trying to register as the leader.
|
||||
(Mark Miller, Alan Woodward)
|
||||
|
||||
* SOLR-5954: Slower DataImportHandler process caused by not reusing jdbc
|
||||
connections. (Mark Miller, Paco Garcia, Raja Nagendra Kumar)
|
||||
Other Changes
|
||||
---------------------
|
||||
|
||||
|
|
|
@ -442,7 +442,7 @@ public class JdbcDataSource extends
|
|||
}
|
||||
}
|
||||
|
||||
private static final long CONN_TIME_OUT = 10 * 1000; // 10 seconds
|
||||
private static final long CONN_TIME_OUT = TimeUnit.NANOSECONDS.convert(10, TimeUnit.SECONDS);
|
||||
|
||||
private static final int FETCH_SIZE = 500;
|
||||
|
||||
|
|
Loading…
Reference in New Issue