mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-31 22:20:12 +00:00
Boosting the hell out of feed fetches.
This commit is contained in:
parent
45e137b22c
commit
cafab8c86b
1 changed files with 1 additions and 1 deletions
|
@ -1327,7 +1327,7 @@ class Feed(models.Model):
|
||||||
self.stories_last_month))
|
self.stories_last_month))
|
||||||
random_factor = random.randint(0, total) / 4
|
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):
|
def set_next_scheduled_update(self, verbose=False, skip_scheduling=False):
|
||||||
r = redis.Redis(connection_pool=settings.REDIS_FEED_POOL)
|
r = redis.Redis(connection_pool=settings.REDIS_FEED_POOL)
|
||||||
|
|
Loading…
Add table
Reference in a new issue