Merge branch 'master' into develop

This commit is contained in:
Andrew Morgan 2019-11-26 14:15:30 +00:00
commit 9fb350af65
4 changed files with 17 additions and 2 deletions

View file

@ -36,7 +36,7 @@ try:
except ImportError:
pass
__version__ = "1.6.0rc2"
__version__ = "1.6.0"
if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)):
# We import here so that we don't have to install a bunch of deps when

View file

@ -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():