pub struct PluginSettings {
pub routing_enabled: bool,
pub plugin_timeout: u64,
pub short_circuit_on_deny: bool,
pub parallel_execution_within_band: bool,
pub fail_on_plugin_error: bool,
pub route_cache_max_entries: usize,
}Expand description
Global plugin settings.
Controls executor behavior and routing mode. All fields have
sensible defaults — a missing plugin_settings: section is valid.
Fields§
§routing_enabled: boolEnable route-based plugin selection.
When false (default), plugins use their own conditions: field.
When true, the routes: and global: sections determine which
plugins fire per entity.
plugin_timeout: u64Default timeout per plugin in seconds.
short_circuit_on_deny: boolWhether to halt on first deny in concurrent mode.
parallel_execution_within_band: boolWhether plugins can execute in parallel within a mode band.
fail_on_plugin_error: boolWhether to halt the pipeline on any plugin error.
route_cache_max_entries: usizeMaximum number of entries in the routing cache.
When the cache reaches this size, new resolutions are computed normally but not memoized — the cache rejects further inserts and emits a warning. This bounds memory growth from attacker-controlled entity names without the reasoning hazards of eviction (silently dropped entries, stale-vs-current confusion). Operators see the warning and tune the cap or investigate the entity-name growth.
Trait Implementations§
Source§impl Clone for PluginSettings
impl Clone for PluginSettings
Source§fn clone(&self) -> PluginSettings
fn clone(&self) -> PluginSettings
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more