summary refs log tree commit diff
path: root/synapse
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 /synapse
parent1.6.0rc2 (diff)
downloadsynapse-65d54c5e8c1434eada5d1b670d7db2e37d68d4f1.tar.xz
Fix phone home stats (#6418)
Fix phone home stats
Diffstat (limited to 'synapse')
-rw-r--r--synapse/app/homeserver.py2
1 files changed, 1 insertions, 1 deletions
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():