Skip to main content

spin_factor_outbound_mysql/
runtime_config.rs

1pub mod spin;
2
3/// Runtime configuration for outbound MySQL.
4#[derive(Default)]
5pub struct RuntimeConfig {
6    /// If set, limits the number of concurrent outbound MySQL connections.
7    pub max_connections: Option<usize>,
8    /// If set, limits how long `acquire` will wait for a connection permit.
9    pub wait_timeout: Option<std::time::Duration>,
10}