mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
modules/client/sync: Must wait for parallel completion before copying ret.
This commit is contained in:
parent
f1bca6de7e
commit
e93e460f22
2 changed files with 2 additions and 0 deletions
|
@ -153,5 +153,6 @@ ircd::m::sync::presence_polylog(data &data)
|
||||||
parallel();
|
parallel();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
parallel.wait_done();
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
@ -135,5 +135,6 @@ ircd::m::sync::room_state_polylog_events(data &data)
|
||||||
parallel(event_idx);
|
parallel(event_idx);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
parallel.wait_done();
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue