diff --git a/changelog.d/400.bugfix b/changelog.d/400.bugfix new file mode 100644 index 00000000..b81988cc --- /dev/null +++ b/changelog.d/400.bugfix @@ -0,0 +1 @@ +Fix an issue which could cause new local associations to be replicated multiple times to peers. \ No newline at end of file diff --git a/sydent/replication/pusher.py b/sydent/replication/pusher.py index 0242cb9e..bff588a4 100644 --- a/sydent/replication/pusher.py +++ b/sydent/replication/pusher.py @@ -112,7 +112,7 @@ async def _push_to_peer(self, p: "RemotePeer") -> None: ) result = await p.pushUpdates(assocs) - await self.peerStore.setLastSentVersionAndPokeSucceeded( + self.peerStore.setLastSentVersionAndPokeSucceeded( p.servername, latest_assoc_id, time_msec() )