0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-01 00:08:22 +02:00

ircd:Ⓜ️:vm: Relax fetch_prev_any enforcement by default.

This commit is contained in:
Jason Volk 2019-05-19 15:22:49 -07:00
parent ea14caa95a
commit f02a1a2be6
2 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -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