Extend the append count guards over subsequent operations.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user