Explorar o código

rename stat to future proof

Neil Johnson %!s(int64=6) %!d(string=hai) anos
pai
achega
792d340572
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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