Function create_pool
Source pub async fn create_pool() -> (RedisCache, LocalCache)
Expand description
Creates Redis and local cache instances and sets up the event subscription.
§Returns
(RedisCache, LocalCache) - The created cache instances
§Panics
Panics if Redis connection fails or if subscription fails