Use actual parameter passed to the ctor

This commit is contained in:
Simon Willnauer 2015-10-26 13:57:27 +01:00
parent 58f2b6ca47
commit d6455a5a76
1 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,7 @@ public final class EngineConfig {
private volatile boolean compoundOnFlush = true; private volatile boolean compoundOnFlush = true;
private long gcDeletesInMillis = DEFAULT_GC_DELETES.millis(); private long gcDeletesInMillis = DEFAULT_GC_DELETES.millis();
private volatile boolean enableGcDeletes = true; private volatile boolean enableGcDeletes = true;
private final TimeValue flushMergesAfter = TimeValue.timeValueMinutes(5); private final TimeValue flushMergesAfter;
private final String codecName; private final String codecName;
private final ThreadPool threadPool; private final ThreadPool threadPool;
private final ShardIndexingService indexingService; private final ShardIndexingService indexingService;
@ -145,6 +145,7 @@ public final class EngineConfig {
this.queryCache = queryCache; this.queryCache = queryCache;
this.queryCachingPolicy = queryCachingPolicy; this.queryCachingPolicy = queryCachingPolicy;
this.translogConfig = translogConfig; this.translogConfig = translogConfig;
this.flushMergesAfter = flushMergesAfter;
} }
/** updates {@link #versionMapSize} based on current setting and {@link #indexingBufferSize} */ /** updates {@link #versionMapSize} based on current setting and {@link #indexingBufferSize} */