diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-12-09 11:15:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-09 16:15:46 +0000 |
commit | 0cc3bf97b4399234cf20f52ae4c09d03661225ff (patch) | |
tree | bdaed7ffc6750e25962a30242ac1c30b0883257e /synapse/config/server.py | |
parent | Use HTTPStatus constants in place of literals in `synapse.http` (#11543) (diff) | |
download | synapse-0cc3bf97b4399234cf20f52ae4c09d03661225ff.tar.xz |
Additional type hints for the config module, part 2. (#11480)
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r-- | synapse/config/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py index ba5b954263..1de2dea9b0 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py @@ -1257,7 +1257,7 @@ class ServerConfig(Config): help="Turn on the twisted telnet manhole service on the given port.", ) - def read_gc_intervals(self, durations) -> Optional[Tuple[float, float, float]]: + def read_gc_intervals(self, durations: Any) -> Optional[Tuple[float, float, float]]: """Reads the three durations for the GC min interval option, returning seconds.""" if durations is None: return None |