pub async fn close_db_pool()Expand description
Gracefully closes the global pool, waiting for in-flight connections to be returned and closed. Intended to be called during shutdown. This is a no-op if the pool was never initialized, so it is always safe to call.