diff --git a/CHANGES.xml b/CHANGES.xml index 30586d4..029d7e7 100644 --- a/CHANGES.xml +++ b/CHANGES.xml @@ -7,13 +7,14 @@ - + New "deferredShutdownDuration" collector configuration option to delay the collector shutdown when it's done executing. - Maven dependency updates: norconex-commons-maven-parent 1.0.2. + Maven dependency updates: norconex-commons-maven-parent 1.0.2, + H2 2.2.220, JSoup 1.15.3. JMX crawler MBeans are now unregistered as the last thing before diff --git a/pom.xml b/pom.xml index 0308af7..e62a059 100644 --- a/pom.xml +++ b/pom.xml @@ -19,20 +19,20 @@ com.norconex.commons norconex-commons-maven-parent - 1.0.2-SNAPSHOT + 1.0.2 com.norconex.collectors norconex-collector-core - 2.0.2-SNAPSHOT + 2.0.2 Norconex Collector Core 1.21 3.4.5 - 2.1.210 + 2.2.220 4.0.3 2.0.6.1 - 1.14.3 + 1.15.3 4.3.2 diff --git a/src/main/java/com/norconex/collector/core/store/impl/mvstore/MVStoreDataStoreEngine.java b/src/main/java/com/norconex/collector/core/store/impl/mvstore/MVStoreDataStoreEngine.java index 9bb17ea..baf26be 100644 --- a/src/main/java/com/norconex/collector/core/store/impl/mvstore/MVStoreDataStoreEngine.java +++ b/src/main/java/com/norconex/collector/core/store/impl/mvstore/MVStoreDataStoreEngine.java @@ -146,7 +146,7 @@ public synchronized void close() { LOG.info("Closing data store engine..."); if (mvstore != null && !mvstore.isClosed()) { LOG.info("Compacting data store..."); - mvstore.compactMoveChunks(); + mvstore.compactFile(5 * 1000); mvstore.close(); } mvstore = null;