From 2130e9ff9fa41929400cc0db59b8fc13d0403790 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Wed, 19 Jan 2022 11:32:38 +0000 Subject: [PATCH] Actually call the `setup_viztracer` function --- synapse/app/homeserver.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py index 5449ef1474..e11c81d642 100644 --- a/synapse/app/homeserver.py +++ b/synapse/app/homeserver.py @@ -475,6 +475,10 @@ def main() -> None: with LoggingContext("main"): # check base requirements check_requirements() + + # Set up VizTracer for debugging (if enabled) + setup_viztracer() + hs = setup(sys.argv[1:]) # redirect stdio to the logs, if configured.