mirror of
https://github.com/matrix-construct/construct
synced 2024-11-04 21:08:57 +01:00
ircd:Ⓜ️:vm: Relax fetch_prev_any enforcement by default.
This commit is contained in:
parent
ea14caa95a
commit
f02a1a2be6
2 changed files with 2 additions and 4 deletions
|
@ -260,12 +260,12 @@ struct ircd::m::vm::opts
|
|||
|
||||
/// Waits for prev_events have been acquired before continuing with this
|
||||
/// evaluation.
|
||||
bool fetch_prev_wait {true};
|
||||
bool fetch_prev_wait {false};
|
||||
|
||||
/// Throws fault::EVENT if *all* of the prev_events do not exist locally.
|
||||
/// This is used to enforce that at least one path is traversable. This
|
||||
/// test is conducted after waiting if fetch_prev and fetch_prev_wait.
|
||||
bool fetch_prev_any {true};
|
||||
bool fetch_prev_any {false};
|
||||
|
||||
/// Throws fault::EVENT if *any* of the prev_events do not exist locally.
|
||||
/// This is used to enforce that all references have been acquired; other
|
||||
|
|
|
@ -12017,8 +12017,6 @@ console_cmd__fed__event(opt &out, const string_view &line)
|
|||
m::vm::opts vmopts;
|
||||
vmopts.non_conform.set(m::event::conforms::MISSING_PREV_STATE);
|
||||
vmopts.fetch_prev = false;
|
||||
vmopts.fetch_prev_any = false;
|
||||
vmopts.fetch_prev_wait = false;
|
||||
m::vm::eval eval
|
||||
{
|
||||
event, vmopts
|
||||
|
|
Loading…
Reference in a new issue