reduce batch size for feeds

This commit is contained in:
Athou
2013-11-15 15:53:22 +01:00
parent 425a8880cd
commit 7c7a0fceaf

View File

@@ -49,7 +49,7 @@ public class DatabaseCleaningService {
long total = 0;
int deleted = -1;
do {
deleted = feedDAO.deleteWithoutSubscriptions(10);
deleted = feedDAO.deleteWithoutSubscriptions(1);
total += deleted;
log.info("removed {} feeds without subscriptions", total);
} while (deleted != 0);