pub struct ProjectionConfig {
pub staleness_threshold_secs: u64,
pub import_staleness_threshold_secs: u64,
pub persist: bool,
}Expand description
Projection lifecycle settings.
Note: Projection persistence is not implemented in this crate today.
The persist field is retained solely for serde backward compatibility
with existing config files; setting it to true is rejected at validation
time because runtime projections remain derived and rebuildable.
Fields§
§staleness_threshold_secs: u64Staleness threshold in seconds. Projections older than this are candidates for rebuild.
import_staleness_threshold_secs: u64Import staleness threshold in seconds. If the last successful import
for a namespace is older than this, the runtime emits a
ProjectionImportStale warning during query execution.
Set to 0 to disable import staleness checking.
persist: boolWhether to persist projections to SQLite.
Not implemented in this crate today. The runtime’s projections
are derived, non-authoritative, and rebuildable from upstream
semantic-memory state, so enabling durable persistence here is
outside the current contract.
This field is retained only for serde backward compatibility with
config files that already include it. Setting persist: true will
cause config validation to return InvalidConfig.
Trait Implementations§
Source§impl Clone for ProjectionConfig
impl Clone for ProjectionConfig
Source§fn clone(&self) -> ProjectionConfig
fn clone(&self) -> ProjectionConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more