rewrote query (#53)

This commit is contained in:
Athou
2013-04-25 13:14:21 +02:00
parent 7912e1e098
commit 98d73ab747
3 changed files with 6 additions and 7 deletions

View File

@@ -48,9 +48,6 @@ 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);