process rooms and edus concurrently
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
677316631a
commit
94d786ac12
5 changed files with 142 additions and 112 deletions
|
@ -1166,7 +1166,7 @@ impl Service {
|
|||
|
||||
#[tracing::instrument(skip(self, pdu), level = "debug")]
|
||||
pub async fn backfill_pdu(&self, origin: &ServerName, pdu: Box<RawJsonValue>) -> Result<()> {
|
||||
let (event_id, value, room_id) =
|
||||
let (room_id, event_id, value) =
|
||||
self.services.event_handler.parse_incoming_pdu(&pdu).await?;
|
||||
|
||||
// Lock so we cannot backfill the same pdu twice at the same time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue