spin_factor_outbound_pg/runtime_config.rs
1pub mod spin;
2
3/// Runtime configuration for outbound PostgreSQL.
4#[derive(Default)]
5pub struct RuntimeConfig {
6 /// If set, limits the number of concurrent outbound PostgreSQL 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}