summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-11-26 13:10:09 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2019-11-26 13:28:40 +0000
commit65d54c5e8c1434eada5d1b670d7db2e37d68d4f1 (patch)
treef5ee772a662289198b38074ab9e050b2aea5d792
parent1.6.0rc2 (diff)
downloadsynapse-65d54c5e8c1434eada5d1b670d7db2e37d68d4f1.tar.xz
Fix phone home stats (#6418)
Fix phone home stats
-rw-r--r--changelog.d/6418.bugfix1
-rw-r--r--synapse/app/homeserver.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/6418.bugfix b/changelog.d/6418.bugfix
new file mode 100644
index 0000000000..a1f488d3a2
--- /dev/null
+++ b/changelog.d/6418.bugfix
@@ -0,0 +1 @@
+Fix phone home stats reporting.
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index 73e2c29d06..883b3fb70b 100644
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -585,7 +585,7 @@ def run(hs):
     def performance_stats_init():
         _stats_process.clear()
         _stats_process.append(
-            (int(hs.get_clock().time(), resource.getrusage(resource.RUSAGE_SELF)))
+            (int(hs.get_clock().time()), resource.getrusage(resource.RUSAGE_SELF))
         )
 
     def start_phone_stats_home():