mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing slight bug in how active premiums were applied to feed update times.
This commit is contained in:
parent
c266d2b99b
commit
642323fd07
1 changed files with 1 additions and 1 deletions
|
@ -989,7 +989,7 @@ class Feed(models.Model):
|
|||
slow_punishment = 6 * self.last_load_time
|
||||
total = max(4, int(updates_per_day_delay + subscriber_bonus + slow_punishment))
|
||||
|
||||
if self.active_premium_subscribers:
|
||||
if self.active_premium_subscribers > 0:
|
||||
total = min(total, 60) # 1 hour minimum for premiums
|
||||
|
||||
if verbose:
|
||||
|
|
Loading…
Add table
Reference in a new issue