Extend the append count guards over subsequent operations.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-08-01 07:46:59 +00:00
parent 16447f7383
commit 0d7eeb7766

View File

@@ -185,8 +185,6 @@ where
.append_pdu(&pdu_id, pdu, &pdu_json, count)
.await;
drop(next_count1);
drop(next_count2);
drop(insert_lock);
// See if the event matches any known pushers via power level
@@ -428,6 +426,9 @@ where
}
}
drop(next_count1);
drop(next_count2);
for appservice in self.services.appservice.read().await.values() {
if self
.services