Use actual parameter passed to the ctor
This commit is contained in:
parent
58f2b6ca47
commit
d6455a5a76
|
@ -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} */
|
||||||
|
|
Loading…
Reference in New Issue