pub fn set_long_connection_threshold(&self, threshold: Duration) -> anyhow::Result<&Self> {
        let millis = u64::try_from(threshold.as_millis())
            .context("long_connection_threshold is unreasonably large")?;
        self.long_connection_threshold_ms
            .store(millis, Ordering::Relaxed);
        tracing::info!("Set long connection threshold to {threshold:?}");
        Ok(self)
    }
Sets the threshold for the DB connection lifetime to denote a connection as long-living and log its details.
core/lib/db_connection/src/connection_pool.rs