Function svc_scheduler::tasks::pool::get_pool
source · pub async fn get_pool() -> Option<TaskPool>
Expand description
Returns a Redis Pool. Uses host and port configurations using a Config object generated from environment variables. Initializes the pool if it hasn’t been initialized yet.