mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +01:00
ircd:Ⓜ️:vm: Notify the sequence::dock under fewer conditions.
This commit is contained in:
parent
6ecca7fcb7
commit
db8e28f585
1 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue