mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
Inactive feeds get their stories cut.
This commit is contained in:
parent
3c44d601f6
commit
36f99a3b27
1 changed files with 3 additions and 1 deletions
|
@ -895,7 +895,9 @@ class Feed(models.Model):
|
|||
|
||||
def trim_feed(self, verbose=False):
|
||||
trim_cutoff = 500
|
||||
if self.num_subscribers <= 10 or self.active_premium_subscribers <= 1:
|
||||
if self.active_subscribers <= 0:
|
||||
trim_cutoff = 25
|
||||
elif self.num_subscribers <= 10 or self.active_premium_subscribers <= 1:
|
||||
trim_cutoff = 100
|
||||
elif self.num_subscribers <= 30 or self.active_premium_subscribers <= 3:
|
||||
trim_cutoff = 200
|
||||
|
|
Loading…
Add table
Reference in a new issue