change default recovery buffer to 100k from 16k
This commit is contained in:
parent
b1e5284a06
commit
1ae5a3467f
|
@ -107,7 +107,7 @@ public class RecoveryAction extends AbstractIndexShardComponent {
|
||||||
snapshotTransportAction = shardId.index().name() + "/" + shardId.id() + "/recovery/snapshot";
|
snapshotTransportAction = shardId.index().name() + "/" + shardId.id() + "/recovery/snapshot";
|
||||||
transportService.registerHandler(snapshotTransportAction, new SnapshotTransportRequestHandler());
|
transportService.registerHandler(snapshotTransportAction, new SnapshotTransportRequestHandler());
|
||||||
|
|
||||||
this.fileChunkSize = componentSettings.getAsSize("fileChunkSize", new SizeValue(16, SizeUnit.KB));
|
this.fileChunkSize = componentSettings.getAsSize("fileChunkSize", new SizeValue(100, SizeUnit.KB));
|
||||||
logger.trace("Recovery Action registered, using fileChunkSize[{}]", fileChunkSize);
|
logger.trace("Recovery Action registered, using fileChunkSize[{}]", fileChunkSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue