Boosting the hell out of feed fetches.

This commit is contained in:
Samuel Clay 2013-04-16 11:49:37 -07:00
parent 45e137b22c
commit cafab8c86b

View file

@ -1327,7 +1327,7 @@ class Feed(models.Model):
self.stories_last_month))
random_factor = random.randint(0, total) / 4
return total, random_factor*2
return total, random_factor
def set_next_scheduled_update(self, verbose=False, skip_scheduling=False):
r = redis.Redis(connection_pool=settings.REDIS_FEED_POOL)