fix(cache): change base class of RedisCache from CacheService to AsyncBaseCacheService (#2871)

refactor(cache): change base class of RedisCache from CacheService to AsyncBaseCacheService for better compatibility and functionality
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-07-22 14:17:57 -03:00 committed by GitHub
commit 9933e54274
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -181,7 +181,7 @@ class ThreadingInMemoryCache(CacheService, Generic[LockType]):
return f"InMemoryCache(max_size={self.max_size}, expiration_time={self.expiration_time})"
class RedisCache(CacheService, Generic[LockType]):
class RedisCache(AsyncBaseCacheService, Generic[LockType]):
"""
A Redis-based cache implementation.