PoolConfig

Type Alias PoolConfig 

Source
pub type PoolConfig = DatabasePoolConfig;
Expand description

Legacy alias for DatabasePoolConfig for backward compatibility

Aliased Type§

pub struct PoolConfig {
    pub max_connections: u32,
    pub min_connections: u32,
    pub acquire_timeout_seconds: u64,
    pub idle_timeout_seconds: Option<u64>,
    pub max_lifetime_seconds: Option<u64>,
    pub test_before_acquire: bool,
}

Fields§

§max_connections: u32§min_connections: u32§acquire_timeout_seconds: u64§idle_timeout_seconds: Option<u64>§max_lifetime_seconds: Option<u64>§test_before_acquire: bool