forked from Archives/Athou_commafeed
reduce batch size for feeds
This commit is contained in:
@@ -49,7 +49,7 @@ public class DatabaseCleaningService {
|
|||||||
long total = 0;
|
long total = 0;
|
||||||
int deleted = -1;
|
int deleted = -1;
|
||||||
do {
|
do {
|
||||||
deleted = feedDAO.deleteWithoutSubscriptions(10);
|
deleted = feedDAO.deleteWithoutSubscriptions(1);
|
||||||
total += deleted;
|
total += deleted;
|
||||||
log.info("removed {} feeds without subscriptions", total);
|
log.info("removed {} feeds without subscriptions", total);
|
||||||
} while (deleted != 0);
|
} while (deleted != 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user