1 month max on next fetch.

This commit is contained in:
Samuel Clay 2013-02-13 12:54:14 -08:00
parent decd50a610
commit 0d75d9ecd8

View file

@ -1241,6 +1241,10 @@ class Feed(models.Model):
if self.is_push:
total = total * 20
# 1 month max
if total > 60*24*30:
total = 60*24*30
if verbose:
print "[%s] %s (%s/%s/%s/%s), %s, %s: %s" % (self, updates_per_day_delay,
self.num_subscribers, self.active_subscribers,