Skip to main content

create_redis_pool

Function create_redis_pool 

Source
pub fn create_redis_pool(redis_url: &str) -> Result<Pool, ShaperailError>
Expand description

Creates a Redis connection pool from the given URL.

The URL should be in the format redis://host:port/db.