mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Only active feeds get updated.
This commit is contained in:
parent
41be0abde3
commit
b10c223f18
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class Command(BaseCommand):
|
|||
settings.LOG_TO_STREAM = True
|
||||
now = datetime.datetime.now()
|
||||
|
||||
feeds = Feed.objects.filter(next_scheduled_update__lte=now).order_by('?')
|
||||
feeds = Feed.objects.filter(next_scheduled_update__lte=now, active=True).order_by('?')
|
||||
|
||||
if options['force']:
|
||||
feeds = Feed.objects.all()
|
||||
|
|
Loading…
Add table
Reference in a new issue