Moving to 3 hour min for premium sub feed fetch intervals (from 6 hours). This is for feeds with no activity.

This commit is contained in:
Samuel Clay 2019-05-28 10:23:38 -04:00
parent db461357ed
commit 646fcb0819

View file

@ -2121,9 +2121,9 @@ class Feed(models.Model):
if len(fetch_history['push_history']):
total = total * 12
# 6 hour max for premiums, 48 hour max for free
# 3 hour max for premiums, 48 hour max for free
if subs >= 1:
total = min(total, 60*6*1)
total = min(total, 60*3*1)
else:
total = min(total, 60*24*2)