mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
6 hour min
This commit is contained in:
parent
27096549a9
commit
ff4eac73bb
1 changed files with 5 additions and 5 deletions
|
@ -2152,16 +2152,16 @@ class Feed(models.Model):
|
|||
if len(fetch_history['push_history']):
|
||||
total = total * 12
|
||||
|
||||
# Craigslist feeds get 6 hours minimum
|
||||
if 'craigslist' in self.feed_address:
|
||||
total = max(total, 60*6)
|
||||
|
||||
# 4 hour max for premiums, 48 hour max for free
|
||||
if subs >= 1:
|
||||
total = min(total, 60*4*1)
|
||||
else:
|
||||
total = min(total, 60*24*2)
|
||||
|
||||
|
||||
# Craigslist feeds get 6 hours minimum
|
||||
if 'craigslist' in self.feed_address:
|
||||
total = max(total, 60*6)
|
||||
|
||||
if verbose:
|
||||
logging.debug(" ---> [%-30s] Fetched every %s min - Subs: %s/%s/%s Stories/day: %s" % (
|
||||
self.log_title[:30], total,
|
||||
|
|
Loading…
Add table
Reference in a new issue