Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix phone home stats (#6418)
Browse files Browse the repository at this point in the history
Fix phone home stats
  • Loading branch information
erikjohnston authored and neilisfragile committed Nov 26, 2019
1 parent 508e0f9 commit aebe20c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/6418.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix phone home stats reporting.
2 changes: 1 addition & 1 deletion synapse/app/homeserver.py
Original file line number Diff line number Diff line change
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

0 comments on commit aebe20c

Please sign in to comment.