mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-19 15:24:34 -04:00
parent
67d7b44784
commit
b25e387c0d
4 changed files with 9 additions and 1 deletions
|
@ -518,6 +518,7 @@ def run(hs):
|
|||
uptime = 0
|
||||
|
||||
stats["homeserver"] = hs.config.server_name
|
||||
stats["server_context"] = hs.config.server_context
|
||||
stats["timestamp"] = now
|
||||
stats["uptime_seconds"] = uptime
|
||||
version = sys.version_info
|
||||
|
@ -558,7 +559,6 @@ def run(hs):
|
|||
|
||||
stats["database_engine"] = hs.get_datastore().database_engine_name
|
||||
stats["database_server_version"] = hs.get_datastore().get_server_version()
|
||||
|
||||
logger.info("Reporting stats to matrix.org: %s" % (stats,))
|
||||
try:
|
||||
yield hs.get_simple_http_client().put_json(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue