Changing default cache size to 8 megs

This commit is contained in:
Sahil Palvia 2017-09-26 14:44:35 -07:00
parent f96062efe3
commit d3b81cb463

View file

@ -22,7 +22,7 @@ import lombok.extern.apachecommons.CommonsLog;
public class SimpleRecordsFetcherFactory implements RecordsFetcherFactory { public class SimpleRecordsFetcherFactory implements RecordsFetcherFactory {
private final int maxRecords; private final int maxRecords;
private int maxSize = 3; private int maxSize = 3;
private int maxByteSize = 15 * 1024 * 1024; private int maxByteSize = 8 * 1024 * 1024;
private int maxRecordsCount = 30000; private int maxRecordsCount = 30000;
private DataFetchingStrategy dataFetchingStrategy = DataFetchingStrategy.DEFAULT; private DataFetchingStrategy dataFetchingStrategy = DataFetchingStrategy.DEFAULT;