add comment about confusing constant value

This commit is contained in:
Michael McCandless 2015-11-16 14:55:11 -05:00 committed by mikemccand
parent 1bdf29e263
commit c3f7638f81
1 changed files with 4 additions and 2 deletions

View File

@ -34,8 +34,10 @@ import org.elasticsearch.node.settings.NodeSettingsService;
*/
public class IndexStoreConfig implements NodeSettingsService.Listener {
/** "Effectively" infinite (20 GB/sec) default value, because store throttling is disabled by default since
* we use Lucene's auto-IO throttling instead. */
private static final ByteSizeValue DEFAULT_THROTTLE = new ByteSizeValue(10240, ByteSizeUnit.MB);
/**
* Configures the node / cluster level throttle type. See {@link StoreRateLimiting.Type}.
*/