mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Easing off of forcing updates when not counted in redis.
This commit is contained in:
parent
a259e5b7cb
commit
89db8a5b9f
1 changed files with 2 additions and 3 deletions
|
@ -465,9 +465,8 @@ class Feed(models.Model):
|
|||
r.zremrangebyrank('error_feeds', 0, -1)
|
||||
|
||||
def update_all_statistics(self, full=True, force=False):
|
||||
if not self.counts_converted_to_redis:
|
||||
force = True
|
||||
self.count_subscribers(recount=force)
|
||||
recount = not self.counts_converted_to_redis:
|
||||
self.count_subscribers(recount=recount)
|
||||
self.calculate_last_story_date()
|
||||
|
||||
count_extra = False
|
||||
|
|
Loading…
Add table
Reference in a new issue