Only 5k feeds for minute.

This commit is contained in:
Samuel Clay 2013-03-14 12:59:28 -07:00
parent 9052636418
commit ffe07db5c8

View file

@ -20,7 +20,7 @@ class TaskFeeds(Task):
next_scheduled_update__lte=now,
active=True,
active_premium_subscribers__gte=10
).order_by('?')
).order_by('?')[:5000]
active_count = feeds.count()
# Regular feeds