mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Upping river chunk size to decrease latency.
This commit is contained in:
parent
7991c9da26
commit
4081b7b278
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,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, 20):
|
||||
for feed_id_group in chunks(feed_ids, 100):
|
||||
pipeline = r.pipeline()
|
||||
for feed_id in feed_id_group:
|
||||
stories_key = 'F:%s' % feed_id
|
||||
|
|
Loading…
Add table
Reference in a new issue