pub struct SyncConfig {
pub last_sync_safety_gap_seconds: i64,
pub max_concurrent_bucket_fetches: usize,
pub initial_lookback_seconds: i64,
pub stale_state_max_age_seconds: i64,
pub max_total_updates: i32,
pub page_limit: i32,
pub cold_start_total_limit: i32,
pub inconsistent_empty_retry_attempts: u32,
pub inconsistent_empty_retry_delay_ms: u64,
}Expand description
Runtime policy for Inline update discovery and bucket catch-up.
Fields§
§last_sync_safety_gap_seconds: i64Safety window subtracted from the newest applied update date.
max_concurrent_bucket_fetches: usizeMaximum number of bucket fetch RPCs allowed concurrently.
initial_lookback_seconds: i64Lookback used when global sync state is missing or stale.
stale_state_max_age_seconds: i64Age after which the global discovery cursor is reseeded.
max_total_updates: i32Maximum number of updates requested per catch-up slice.
page_limit: i32Maximum updates requested in one response page.
cold_start_total_limit: i32Smaller total limit used by a bucket with no durable cursor.
inconsistent_empty_retry_attempts: u32Number of times to retry an EMPTY page that remains behind a realtime hint before reporting a consistency failure.
inconsistent_empty_retry_delay_ms: u64Delay between inconsistent EMPTY retries.
Trait Implementations§
Source§impl Clone for SyncConfig
impl Clone for SyncConfig
Source§fn clone(&self) -> SyncConfig
fn clone(&self) -> SyncConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SyncConfig
Source§impl Debug for SyncConfig
impl Debug for SyncConfig
Source§impl Default for SyncConfig
impl Default for SyncConfig
impl Eq for SyncConfig
Source§impl PartialEq for SyncConfig
impl PartialEq for SyncConfig
impl StructuralPartialEq for SyncConfig
Auto Trait Implementations§
impl Freeze for SyncConfig
impl RefUnwindSafe for SyncConfig
impl Send for SyncConfig
impl Sync for SyncConfig
impl Unpin for SyncConfig
impl UnsafeUnpin for SyncConfig
impl UnwindSafe for SyncConfig
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