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

ircd:Ⓜ️:vm::opts: Additional doc for notify; minor reorg.

This commit is contained in:
Jason Volk 2023-02-18 12:50:11 -08:00
parent 9bf8e08753
commit e177accad8

View file

@ -35,24 +35,25 @@ struct ircd::m::vm::opts
/// Enabled phases of evaluation.
std::bitset<num_of<vm::phase>()> phase {-1UL};
/// Custom dbs::opts to use during write.
dbs::opts wopts;
/// Broadcast to local clients (/sync stream).
bool notify_clients {true};
/// Broadcast to federation servers (/federation/send/).
bool notify_servers {true};
/// False to allow a dirty conforms report (not recommended).
bool conforming {true};
/// False to bypass all auth phases.
bool auth {true};
/// False to bypass all fetch phases.
bool fetch {true};
/// Broadcast to local clients (/sync stream). False only effectively
/// prevents longpoll sync from triggering. The client may still receive
/// the event by numerous other means, or may not due to other conditions.
bool notify_clients {true};
/// Broadcast to federation servers (/federation/send/). Only certain
/// events are broadcast based on other conditions; setting this to false
/// prevents all broadcasts.
bool notify_servers {true};
/// False to allow a dirty conforms report (not recommended).
bool conforming {true};
/// Mask of conformity failures to allow without considering dirty.
event::conforms non_conform;
@ -162,6 +163,9 @@ struct ircd::m::vm::opts
/// reason to ever adjust this.
size_t reserve_index {1024};
/// Custom dbs::opts to use during write.
dbs::opts wopts;
/// Coarse limit for array evals. The counter is incremented for every
/// event; both accepted and faulted.
size_t limit = -1;