Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Fix phone home stats #6418

Merged
merged 2 commits into from Nov 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/6418.bugfix
@@ -0,0 +1 @@
Fix phone home stats reporting.
2 changes: 1 addition & 1 deletion synapse/app/homeserver.py
Expand Up @@ -585,7 +585,7 @@ def profiled(*args, **kargs):
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():
Expand Down