mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
ircd:Ⓜ️:vm: Unconditional dbtxn building; condition opts.write for committing only.
This commit is contained in:
parent
8c4aa37c41
commit
dfe1133cfb
1 changed files with 2 additions and 5 deletions
|
@ -596,11 +596,8 @@ ircd::m::vm::execute_pdu(eval &eval,
|
||||||
assert(sequence::retired < sequence::get(eval));
|
assert(sequence::retired < sequence::get(eval));
|
||||||
sequence::committed = sequence::get(eval);
|
sequence::committed = sequence::get(eval);
|
||||||
|
|
||||||
if(likely(opts.write))
|
write_prepare(eval, event);
|
||||||
write_prepare(eval, event);
|
write_append(eval, event);
|
||||||
|
|
||||||
if(likely(opts.write))
|
|
||||||
write_append(eval, event);
|
|
||||||
|
|
||||||
// Generate post-eval/pre-notify effects. This function may conduct
|
// Generate post-eval/pre-notify effects. This function may conduct
|
||||||
// an entire eval of several more events recursively before returning.
|
// an entire eval of several more events recursively before returning.
|
||||||
|
|
Loading…
Reference in a new issue