mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Preventing large feed updates from stopping the work queue.
This commit is contained in:
parent
5ce01c897d
commit
479b587b60
1 changed files with 1 additions and 0 deletions
|
@ -339,6 +339,7 @@ class Feed(models.Model):
|
|||
|
||||
if len(feed_ids) > 100:
|
||||
logging.debug(" ---> ~SN~FMFeeds scheduled: %s" % feed_ids)
|
||||
return # TODO: Remove
|
||||
day_ago = datetime.datetime.now() - datetime.timedelta(days=1)
|
||||
feeds = Feed.objects.filter(pk__in=feed_ids)
|
||||
for feed in feeds:
|
||||
|
|
Loading…
Add table
Reference in a new issue