mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Turning on mongodb replication lag watcher.
This commit is contained in:
parent
2fa00fd737
commit
ae252b0293
1 changed files with 2 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue