diff --git a/cognee/infrastructure/databases/cache/cache_db_interface.py b/cognee/infrastructure/databases/cache/cache_db_interface.py index 97782aa7c..1e7949554 100644 --- a/cognee/infrastructure/databases/cache/cache_db_interface.py +++ b/cognee/infrastructure/databases/cache/cache_db_interface.py @@ -8,10 +8,11 @@ class CacheDBInterface(ABC): Provides a common interface for lock acquisition, release, and context-managed locking. """ - def __init__(self, host: str, port: int, lock_key: str): + def __init__(self, host: str, port: int, lock_key: str = "default_lock", log_key: str = "usage_logs"): self.host = host self.port = port self.lock_key = lock_key + self.log_key = log_key self.lock = None @abstractmethod