pub struct PlaneConfig {
pub call_timeout: Duration,
pub place_timeout: Duration,
pub request_ttl_ms: u64,
pub weights: ScoringWeights,
pub dead_after: Duration,
pub reschedule_timeout: Duration,
pub retry_backoff: Duration,
}Expand description
Tunables.
Fields§
§call_timeout: DurationTimeout for read-only calls.
place_timeout: DurationTimeout for place (includes the payload fetch).
request_ttl_ms: u64Request lifetime.
weights: ScoringWeightsScoring weights (governance config).
dead_after: DurationA target unreachable for this long counts as Dead (membership
peer state, when known, decides first). Its instances become Lost
and are rescheduled by PlacementControlPlane::lifecycle_tick.
reschedule_timeout: DurationTimeout for the place of a reschedule (shorter than
place_timeout: a replacement that cannot be fetched in this time
is retried on a later tick rather than holding this one).
retry_backoff: DurationFirst wait before retrying a reschedule that found no node, or an orphan unload that failed; doubles per attempt up to five minutes.
Trait Implementations§
Source§impl Clone for PlaneConfig
impl Clone for PlaneConfig
Source§impl Debug for PlaneConfig
impl Debug for PlaneConfig
Auto Trait Implementations§
impl Freeze for PlaneConfig
impl RefUnwindSafe for PlaneConfig
impl Send for PlaneConfig
impl Sync for PlaneConfig
impl Unpin for PlaneConfig
impl UnsafeUnpin for PlaneConfig
impl UnwindSafe for PlaneConfig
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