simplify cork interface related
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
a1ced0a56f
commit
6dd6e4bfaf
10 changed files with 26 additions and 22 deletions
|
@ -207,7 +207,7 @@ impl Service {
|
|||
state_lock: &mutex_map::Guard<()>, // Take mutex guard to make sure users get the room state mutex
|
||||
) -> Result<Vec<u8>> {
|
||||
// Coalesce database writes for the remainder of this scope.
|
||||
let _cork = services().globals.db.cork_and_flush();
|
||||
let _cork = services().db.cork_and_flush();
|
||||
|
||||
let shortroomid = services()
|
||||
.rooms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue