0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 08:13:46 +02:00

ircd:Ⓜ️:vm: Notify the sequence::dock under fewer conditions.

This commit is contained in:
Jason Volk 2019-09-09 12:16:48 -07:00
parent 6ecca7fcb7
commit db8e28f585

View file

@ -847,6 +847,11 @@ ircd::m::vm::execute_pdu(eval &eval,
eval.txn, std::shared_ptr<db::txn>{}
};
const scope_notify sequence_dock
{
sequence::dock, scope_notify::all
};
assert(eval.opts);
const auto &opts
{
@ -933,11 +938,6 @@ ircd::m::vm::execute_pdu(eval &eval,
assert(sequence::committed < sequence::get(eval));
assert(sequence::retired < sequence::get(eval));
sequence::committed = sequence::get(eval);
const scope_notify sequence_dock
{
sequence::dock, scope_notify::all
};
if(opts.write)
write_prepare(eval, event);