mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd:Ⓜ️:vm::opts: Additional doc for notify; minor reorg.
This commit is contained in:
parent
9bf8e08753
commit
e177accad8
1 changed files with 16 additions and 12 deletions
|
@ -35,24 +35,25 @@ struct ircd::m::vm::opts
|
||||||
/// Enabled phases of evaluation.
|
/// Enabled phases of evaluation.
|
||||||
std::bitset<num_of<vm::phase>()> phase {-1UL};
|
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.
|
/// False to bypass all auth phases.
|
||||||
bool auth {true};
|
bool auth {true};
|
||||||
|
|
||||||
/// False to bypass all fetch phases.
|
/// False to bypass all fetch phases.
|
||||||
bool fetch {true};
|
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.
|
/// Mask of conformity failures to allow without considering dirty.
|
||||||
event::conforms non_conform;
|
event::conforms non_conform;
|
||||||
|
|
||||||
|
@ -162,6 +163,9 @@ struct ircd::m::vm::opts
|
||||||
/// reason to ever adjust this.
|
/// reason to ever adjust this.
|
||||||
size_t reserve_index {1024};
|
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
|
/// Coarse limit for array evals. The counter is incremented for every
|
||||||
/// event; both accepted and faulted.
|
/// event; both accepted and faulted.
|
||||||
size_t limit = -1;
|
size_t limit = -1;
|
||||||
|
|
Loading…
Reference in a new issue