pub async fn create_pool( config: &Config, max_connections: u32, ) -> Result<PgPool>
Create a Postgres connection pool from application configuration.