|
@@ -67,7 +67,7 @@ public class TranslogService extends AbstractIndexShardComponent {
|
|
|
this.indexShard = indexShard;
|
|
|
this.translog = translog;
|
|
|
|
|
|
- this.flushThresholdOperations = componentSettings.getAsInt("flush_threshold_ops", componentSettings.getAsInt("flush_threshold", 5000));
|
|
|
+ this.flushThresholdOperations = componentSettings.getAsInt("flush_threshold_ops", componentSettings.getAsInt("flush_threshold", Integer.MAX_VALUE));
|
|
|
this.flushThresholdSize = componentSettings.getAsBytesSize("flush_threshold_size", new ByteSizeValue(200, ByteSizeUnit.MB));
|
|
|
this.flushThresholdPeriod = componentSettings.getAsTime("flush_threshold_period", TimeValue.timeValueMinutes(30));
|
|
|
this.interval = componentSettings.getAsTime("interval", timeValueMillis(5000));
|