mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 06:24:56 -04:00
Add logging for redis connection setup (#9590)
This commit is contained in:
parent
e55bd0e110
commit
464e5da7b2
3 changed files with 39 additions and 1 deletions
|
@ -17,6 +17,8 @@
|
|||
"""
|
||||
from typing import Any, List, Optional, Type, Union
|
||||
|
||||
from twisted.internet import protocol
|
||||
|
||||
class RedisProtocol:
|
||||
def publish(self, channel: str, message: bytes): ...
|
||||
async def ping(self) -> None: ...
|
||||
|
@ -52,7 +54,7 @@ def lazyConnection(
|
|||
|
||||
class ConnectionHandler: ...
|
||||
|
||||
class RedisFactory:
|
||||
class RedisFactory(protocol.ReconnectingClientFactory):
|
||||
continueTrying: bool
|
||||
handler: RedisProtocol
|
||||
pool: List[RedisProtocol]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue