diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2021-11-17 19:07:02 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-17 19:07:02 +0000 |
commit | 84fac0f814f69645ff1ad564ef8294b31203dc95 (patch) | |
tree | 041505d9f8711a230ac6e11c707ff19017f038c0 /synapse/app | |
parent | Add support for `/_matrix/media/v3` APIs (#11371) (diff) | |
download | synapse-84fac0f814f69645ff1ad564ef8294b31203dc95.tar.xz |
Add type annotations to `synapse.metrics` (#10847)
Diffstat (limited to 'synapse/app')
-rw-r--r-- | synapse/app/_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/_base.py b/synapse/app/_base.py index 573bb487b2..807ee3d46e 100644 --- a/synapse/app/_base.py +++ b/synapse/app/_base.py @@ -402,7 +402,7 @@ async def start(hs: "HomeServer") -> None: if hasattr(signal, "SIGHUP"): @wrap_as_background_process("sighup") - def handle_sighup(*args: Any, **kwargs: Any) -> None: + async def handle_sighup(*args: Any, **kwargs: Any) -> None: # Tell systemd our state, if we're using it. This will silently fail if # we're not using systemd. sdnotify(b"RELOADING=1") |