Lower recon batch size back to 10.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@123 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
4ed7b45e41
commit
c45e0edc10
@ -224,7 +224,7 @@ public class ReconOperation extends EngineDependentOperation {
|
|||||||
List<CellChange> cellChanges = new ArrayList<CellChange>(_entries.size());
|
List<CellChange> cellChanges = new ArrayList<CellChange>(_entries.size());
|
||||||
List<String> values = new ArrayList<String>(valueToEntries.keySet());
|
List<String> values = new ArrayList<String>(valueToEntries.keySet());
|
||||||
|
|
||||||
final int batchSize = 20;
|
final int batchSize = 10;
|
||||||
for (int i = 0; i < values.size(); i += batchSize) {
|
for (int i = 0; i < values.size(); i += batchSize) {
|
||||||
recon(valueToEntries, values, i, Math.min(i + batchSize, values.size()), cellChanges);
|
recon(valueToEntries, values, i, Math.min(i + batchSize, values.size()), cellChanges);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user