mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Story count cutoffs get even more restrictive in the hopes of tirmming feed load times.
This commit is contained in:
parent
3865cb77fa
commit
3afe36171e
1 changed files with 4 additions and 4 deletions
|
@ -447,13 +447,13 @@ class Feed(models.Model):
|
|||
from apps.reader.models import MUserStory
|
||||
trim_cutoff = 250
|
||||
if self.active_subscribers <= 1:
|
||||
trim_cutoff = 100
|
||||
trim_cutoff = 50
|
||||
elif self.active_subscribers <= 3:
|
||||
trim_cutoff = 150
|
||||
trim_cutoff = 100
|
||||
elif self.active_subscribers <= 5:
|
||||
trim_cutoff = 200
|
||||
trim_cutoff = 150
|
||||
elif self.active_subscribers <= 10:
|
||||
trim_cutoff = 250
|
||||
trim_cutoff = 200
|
||||
stories = MStory.objects(
|
||||
story_feed_id=self.pk,
|
||||
).order_by('-story_date')
|
||||
|
|
Loading…
Add table
Reference in a new issue