mz_persist::cfg

Trait BlobKnobs

Source
pub trait BlobKnobs:
    Debug
    + Send
    + Sync {
    // Required methods
    fn operation_timeout(&self) -> Duration;
    fn operation_attempt_timeout(&self) -> Duration;
    fn connect_timeout(&self) -> Duration;
    fn read_timeout(&self) -> Duration;
    fn is_cc_active(&self) -> bool;
}
Expand description

Configuration knobs for Blob.

Required Methods§

Source

fn operation_timeout(&self) -> Duration

Maximum time allowed for a network call, including retry attempts.

Source

fn operation_attempt_timeout(&self) -> Duration

Maximum time allowed for a single network call.

Source

fn connect_timeout(&self) -> Duration

Maximum time to wait for a socket connection to be made.

Source

fn read_timeout(&self) -> Duration

Maximum time to wait to read the first byte of a response, including connection time.

Source

fn is_cc_active(&self) -> bool

Whether this is running in a “cc” sized cluster.

Implementors§