mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Further pushing down feed fetches to handle load until db is scaled out.
This commit is contained in:
parent
ff1f79eddf
commit
ca43ea8555
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ class TaskFeeds(Task):
|
|||
next_scheduled_update__lte=now,
|
||||
active=True,
|
||||
active_premium_subscribers__gte=1
|
||||
).order_by('?')[:500]
|
||||
).order_by('?')[:400]
|
||||
popular_count = popular_feeds.count()
|
||||
|
||||
# Regular feeds
|
||||
|
@ -28,7 +28,7 @@ class TaskFeeds(Task):
|
|||
next_scheduled_update__lte=now,
|
||||
active=True,
|
||||
active_subscribers__gte=1
|
||||
).order_by('?')[:250]
|
||||
).order_by('?')[:200]
|
||||
active_count = feeds.count()
|
||||
|
||||
# Mistakenly inactive feeds
|
||||
|
|
Loading…
Add table
Reference in a new issue