Wait to subscribe before sending REPLICATE

This commit is contained in:
Richard van der Hoff 2020-05-05 18:53:38 +01:00
parent b2dba06079
commit d78265af0c
2 changed files with 35 additions and 20 deletions

View file

@ -99,7 +99,8 @@ class ReplicationCommandHandler:
# The factory used to create connections.
self._factory = None # type: Optional[ReconnectingClientFactory]
# The currently connected connections.
# The currently connected connections. (The list of places we need to send
# outgoing replication commands to.)
self._connections = [] # type: List[AbstractConnection]
LaterGauge(