summary refs log tree commit diff
path: root/stubs/txredisapi.pyi
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-07-22 00:40:42 +0100
committerGitHub <noreply@github.com>2020-07-22 00:40:42 +0100
commit05060e02234eec533c357cbc9eb4347976c1617d (patch)
treeb035c3b3f1228b83d678d4b9b4dafd14518513b2 /stubs/txredisapi.pyi
parentClean up PreserveLoggingContext (#7877) (diff)
downloadsynapse-05060e02234eec533c357cbc9eb4347976c1617d.tar.xz
Track command processing as a background process (#7879)
I'm going to be doing more stuff synchronously, and I don't want to lose the
CPU metrics down the sofa.
Diffstat (limited to 'stubs/txredisapi.pyi')
-rw-r--r--stubs/txredisapi.pyi1
1 files changed, 1 insertions, 0 deletions
diff --git a/stubs/txredisapi.pyi b/stubs/txredisapi.pyi
index cac689d4f3..c66413f003 100644
--- a/stubs/txredisapi.pyi
+++ b/stubs/txredisapi.pyi
@@ -22,6 +22,7 @@ class RedisProtocol:
     def publish(self, channel: str, message: bytes): ...
 
 class SubscriberProtocol:
+    def __init__(self, *args, **kwargs): ...
     password: Optional[str]
     def subscribe(self, channels: Union[str, List[str]]): ...
     def connectionMade(self): ...