aboutsummaryrefslogtreecommitdiff
path: root/src/web/controllers/feed.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/controllers/feed.py')
-rw-r--r--src/web/controllers/feed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/controllers/feed.py b/src/web/controllers/feed.py
index a77fd926..d75cd994 100644
--- a/src/web/controllers/feed.py
+++ b/src/web/controllers/feed.py
@@ -41,7 +41,7 @@ class FeedController(AbstractController):
"""
feed = self.get(id=feed_id)
duplicates = []
- for pair in itertools.combinations(feed.articles, 2):
+ for pair in itertools.combinations(feed.articles[:1000], 2):
date1, date2 = pair[0].date, pair[1].date
if clear_string(pair[0].title) == clear_string(pair[1].title) \
and (date1 - date2) < timedelta(days=1):
bgstack15