From 69bdbbb4f089b8cf93eac4203ee16df6d0824d00 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Tue, 14 Sep 2021 17:13:25 +0100 Subject: [PATCH 1/2] Remove unnecessary await --- sydent/replication/pusher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ) From 281ff0ae34af886b901c004b4a625eb781d8f050 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Tue, 14 Sep 2021 17:19:40 +0100 Subject: [PATCH 2/2] changelog --- changelog.d/400.bugfix | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/400.bugfix 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