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:
parent
c880d9035c
commit
9933e54274
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue