mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-05 16:49:45 +00:00
Cutting feed chunks in half
This commit is contained in:
parent
b3337aceec
commit
e32e581562
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ class UserSubscription(models.Model):
|
|||
oldest_manual_unread = r.zrevrange(user_unread_stories_feed_key, -1, -1, withscores=True)
|
||||
manual_unread_feed_oldest_date[us.feed_id] = int(oldest_manual_unread[0][1])
|
||||
|
||||
for feed_id_group in chunks(feed_ids, 100):
|
||||
for feed_id_group in chunks(feed_ids, 50):
|
||||
pipeline = r.pipeline()
|
||||
for feed_id in feed_id_group:
|
||||
stories_key = 'F:%s' % feed_id
|
||||
|
|
Loading…
Add table
Reference in a new issue