mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Refreshing a feed turns it active, just in case it's not (either by exception or by decay).
This commit is contained in:
parent
bc1940bcc0
commit
6bb25fbf18
1 changed files with 2 additions and 0 deletions
|
@ -45,11 +45,13 @@ def exception_retry(request):
|
|||
feed.next_scheduled_update = datetime.datetime.utcnow()
|
||||
feed.has_page_exception = False
|
||||
feed.has_feed_exception = False
|
||||
feed.active = True
|
||||
if reset_fetch:
|
||||
logging.info(' ---> [%s] Refreshing exception feed: %s' % (request.user, feed))
|
||||
feed.fetched_once = False
|
||||
else:
|
||||
logging.info(' ---> [%s] Forcing refreshing feed: %s' % (request.user, feed))
|
||||
feed.fetched_once = True
|
||||
feed.save()
|
||||
|
||||
feed.update(force=True)
|
||||
|
|
Loading…
Add table
Reference in a new issue