pub struct PostgresScannerConfig {
pub attempt_timeout_interval: Duration,
pub lease_expiry_interval: Duration,
pub suspension_timeout_interval: Duration,
pub dependency_reconciler_interval: Duration,
pub edge_cancel_dispatcher_interval: Duration,
pub edge_cancel_reconciler_interval: Duration,
pub budget_reset_interval: Duration,
pub dependency_stale_threshold_ms: i64,
pub scanner_filter: ScannerFilter,
pub partition_config: PartitionConfig,
}Expand description
Subset of EngineConfig’s interval knobs that the Postgres
reconcilers honour. Mirrors the Valkey engine’s per-scanner
interval fields so ServerConfig::engine_config can thread the
same environment values through to both backends.
Fields§
§attempt_timeout_interval: Duration§lease_expiry_interval: Duration§suspension_timeout_interval: Duration§dependency_reconciler_interval: Duration§edge_cancel_dispatcher_interval: Duration§edge_cancel_reconciler_interval: Duration§budget_reset_interval: DurationRFC-020 Wave 9 Standalone-1: cadence for the budget_reset
reconciler. Matches the Valkey side’s
ff-server::config::budget_reset_interval knob so the same
env value drives both backends.
dependency_stale_threshold_ms: i64Stale-threshold for the dependency reconciler (ms). Matches
the Valkey scanner’s stale_threshold_ms knob.
scanner_filter: ScannerFilter§partition_config: PartitionConfigImplementations§
Source§impl PostgresScannerConfig
impl PostgresScannerConfig
Sourcepub const DEFAULT_DEP_STALE_MS: i64 = 15_000
pub const DEFAULT_DEP_STALE_MS: i64 = 15_000
Default threshold mirrors the Valkey dep reconciler (15s — a full scan cycle).
Trait Implementations§
Source§impl Clone for PostgresScannerConfig
impl Clone for PostgresScannerConfig
Source§fn clone(&self) -> PostgresScannerConfig
fn clone(&self) -> PostgresScannerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PostgresScannerConfig
impl RefUnwindSafe for PostgresScannerConfig
impl Send for PostgresScannerConfig
impl Sync for PostgresScannerConfig
impl Unpin for PostgresScannerConfig
impl UnsafeUnpin for PostgresScannerConfig
impl UnwindSafe for PostgresScannerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more