smaller batch size

This commit is contained in:
Athou
2013-07-09 09:10:10 +02:00
parent d2a99bb694
commit d78679d3d8

View File

@@ -75,7 +75,7 @@ public class DatabaseCleaner {
long total = 0;
int deleted = -1;
do {
List<FeedCount> fcs = feedDAO.findDuplicates(0, 10, 1);
List<FeedCount> fcs = feedDAO.findDuplicates(0, 1, 1);
deleted = fcs.size();
for (FeedCount fc : fcs) {
Feed into = feedDAO.findById(fc.feeds.get(0).getId());