change default recovery buffer to 100k from 16k

This commit is contained in:
kimchy 2010-03-18 17:28:54 +02:00
parent b1e5284a06
commit 1ae5a3467f
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ public class RecoveryAction extends AbstractIndexShardComponent {
snapshotTransportAction = shardId.index().name() + "/" + shardId.id() + "/recovery/snapshot";
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);
}