Extend the append count guards over subsequent operations.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
16447f7383
commit
0d7eeb7766
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue