mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Temporarily slowing donw feed fetcher.
This commit is contained in:
parent
ba719e6a80
commit
bd5bc84227
1 changed files with 1 additions and 1 deletions
|
@ -894,7 +894,7 @@ class Feed(models.Model):
|
|||
# 2 subscribers:
|
||||
# 1 update per day = 1 hours
|
||||
# 10 updates = 20 minutes
|
||||
updates_per_day_delay = 12 * 60 / max(.25, ((max(0, self.active_subscribers)**.15)
|
||||
updates_per_day_delay = 12 * 60 / max(.25, ((max(0, self.active_subscribers)**.35)
|
||||
* (updates_per_month**1.2)))
|
||||
if self.premium_subscribers > 0:
|
||||
updates_per_day_delay /= min(self.active_subscribers+self.premium_subscribers, 5)
|
||||
|
|
Loading…
Add table
Reference in a new issue