mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:16:09 -04:00
Wait for a POSITION on the right connection before accepting RDATA
... otherwise we can believe we're up to date when we're not.
This commit is contained in:
parent
d78265af0c
commit
7f7eedbebb
2 changed files with 39 additions and 20 deletions
|
@ -144,7 +144,7 @@ class RedisSubscriber(txredisapi.SubscriberProtocol, AbstractConnection):
|
|||
Args:
|
||||
cmd (Command)
|
||||
"""
|
||||
run_as_background_process("send-cmd", self._send_command, cmd)
|
||||
run_as_background_process("send-cmd", self._async_send_command, cmd)
|
||||
|
||||
async def _async_send_command(self, cmd: Command):
|
||||
"""Encode a replication command and send it over our outbound connection"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue