Turning off statistics again. It keeps locking the database very inefficiently.

This commit is contained in:
Samuel Clay 2010-09-22 11:07:19 -04:00
parent 9870276df1
commit ce28fa14a1

View file

@ -178,7 +178,7 @@ class Feed(models.Model):
def count_stories(self, verbose=False, lock=None):
self.save_feed_stories_last_month(verbose, lock)
self.save_feed_story_history_statistics(lock)
# self.save_feed_story_history_statistics(lock)
def save_feed_stories_last_month(self, verbose=False, lock=None):
month_ago = datetime.datetime.now() - datetime.timedelta(days=30)