Easing off of forcing updates when not counted in redis.

This commit is contained in:
Samuel Clay 2015-07-29 12:07:22 -07:00
parent a259e5b7cb
commit 89db8a5b9f

View file

@ -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