Skip to content

Commit

Permalink
fix(cache): change base class of RedisCache from CacheService to Asyn…
Browse files Browse the repository at this point in the history
…cBaseCacheService (langflow-ai#2871)

refactor(cache): change base class of RedisCache from CacheService to AsyncBaseCacheService for better compatibility and functionality
  • Loading branch information
ogabrielluiz authored Jul 22, 2024
1 parent c880d90 commit 9933e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/base/langflow/services/cache/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def __repr__(self):
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.
Expand Down

0 comments on commit 9933e54

Please sign in to comment.