mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 22:04:57 -04:00
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.
This commit is contained in:
parent
15997618e2
commit
05060e0223
4 changed files with 40 additions and 3 deletions
|
@ -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): ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue