mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Yannick Lecaillez
30.08.2016 201f21933b9702902b492e036a0cc1d25f8cefd4
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/OnDiskMergeImporter.java
@@ -189,7 +189,7 @@
          ? getDefaultNumberOfThread()
          : importConfig.getThreadCount();
      final int nbBuffersPerThread = 2 * getIndexCount();
      try(final BufferPool bufferPool = newBufferPool(maxThreadCount, nbBuffersPerThread))
      try(final BufferPool bufferPool = newBufferPool(maxThreadCount, nbBuffersPerThread))
      {
        final int threadCount = bufferPool.size() / nbBuffersPerThread;
        logger.info(NOTE_IMPORT_THREAD_COUNT, threadCount);