mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
skipping initial entries marking as the query takes too long to complete and locks the database
This commit is contained in:
@@ -48,6 +48,9 @@ public class FeedSubscriptionService {
|
||||
sub.setTitle(title.substring(0, Math.min(128, title.length())));
|
||||
feedSubscriptionDAO.saveOrUpdate(sub);
|
||||
|
||||
// TODO optimize this request, it takes ages to complete, skipping for
|
||||
// now
|
||||
newSubscription = false;
|
||||
if (newSubscription) {
|
||||
List<FeedEntryStatus> statuses = Lists.newArrayList();
|
||||
List<FeedEntry> allEntries = feedEntryDAO.findByFeed(feed, 0, 10);
|
||||
|
||||
Reference in New Issue
Block a user