Putting feed update invervals back to normal.

This commit is contained in:
Samuel Clay 2011-04-26 19:12:34 -04:00
parent 337a2be064
commit a3a22f16a3

View file

@ -787,7 +787,7 @@ class Feed(models.Model):
# 2 subscribers:
# 1 update per day = 1 hours
# 10 updates = 20 minutes
updates_per_day_delay = 4 * 60 / max(.25, ((max(0, self.active_subscribers)**.15)
updates_per_day_delay = 2 * 60 / max(.25, ((max(0, self.active_subscribers)**.15)
* (updates_per_month**1.5)))
if self.premium_subscribers > 0:
updates_per_day_delay /= min(self.active_subscribers, 5)