From ae252b0293d21ad78da865366c7ce5eed22752ea Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Fri, 17 Aug 2012 00:00:02 -0700 Subject: [PATCH] Turning on mongodb replication lag watcher. --- apps/statistics/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/statistics/models.py b/apps/statistics/models.py index 7fa5e749b..eda5dd91f 100644 --- a/apps/statistics/models.py +++ b/apps/statistics/models.py @@ -68,6 +68,8 @@ class MStatistics(mongo.Document): print "Sites loaded: %s" % (datetime.datetime.now() - now) cls.collect_statistics_stories_shared(last_day) print "Stories shared: %s" % (datetime.datetime.now() - now) + cls.collect_statistics_for_db() + print "DB Stats: %s" % (datetime.datetime.now() - now) @classmethod def collect_statistics_feeds_fetched(cls, last_day=None):