mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
reduce batch size
This commit is contained in:
@@ -33,7 +33,7 @@ public class DatabaseCleaner {
|
||||
long total = 0;
|
||||
int deleted = -1;
|
||||
do {
|
||||
deleted = feedDAO.deleteWithoutSubscriptions(100);
|
||||
deleted = feedDAO.deleteWithoutSubscriptions(1);
|
||||
total += deleted;
|
||||
log.info("removed {} feeds without subscriptions", total);
|
||||
} while (deleted != 0);
|
||||
|
||||
Reference in New Issue
Block a user