pub fn max_connections(&self) -> anyhow::Result<u32> {
        self.max_connections.context("Max connections is absent")
    }
Returns the maximum size of the connection pool as a `Result` to simplify error propagation.
core/lib/config/src/configs/database.rs