diff options
author | Olivier Wilkinson (reivilibre) <oliverw@matrix.org> | 2022-01-19 11:32:38 +0000 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <oliverw@matrix.org> | 2022-01-19 11:32:38 +0000 |
commit | 2130e9ff9fa41929400cc0db59b8fc13d0403790 (patch) | |
tree | 8c74885658ae70793b03ecbd4b4f939b1fb0f073 | |
parent | Work around lack of logging so early at startup (think about doing this bette... (diff) | |
download | synapse-2130e9ff9fa41929400cc0db59b8fc13d0403790.tar.xz |
Actually call the `setup_viztracer` function
-rw-r--r-- | synapse/app/homeserver.py | 4 |
1 files changed, 4 insertions, 0 deletions
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. |