浏览代码

rename stat to future proof

Neil Johnson 6 年之前
父节点
当前提交
792d340572
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      synapse/app/homeserver.py

+ 1 - 1
synapse/app/homeserver.py

@@ -425,7 +425,7 @@ def run(hs):
         stats["daily_active_rooms"] = yield hs.get_datastore().count_daily_active_rooms()
         stats["daily_messages"] = yield hs.get_datastore().count_daily_messages()
 
-        stats["r30_users"] = yield hs.get_datastore().count_r30_users()
+        stats["r30_users_all"] = yield hs.get_datastore().count_r30_users()
 
         daily_sent_messages = yield hs.get_datastore().count_daily_sent_messages()
         stats["daily_sent_messages"] = daily_sent_messages