Update get_cache_engine.py
This commit is contained in:
parent
9adb89b718
commit
03eedddf29
1 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ def create_cache_engine(
|
|||
return None
|
||||
|
||||
|
||||
def get_cache_engine() -> CacheDBInterface:
|
||||
def get_cache_engine(lock_key: str) -> CacheDBInterface:
|
||||
"""
|
||||
Returns a cache adapter instance using current context configuration.
|
||||
"""
|
||||
|
|
@ -53,7 +53,7 @@ def get_cache_engine() -> CacheDBInterface:
|
|||
return create_cache_engine(
|
||||
cache_host=config.cache_host,
|
||||
cache_port=config.cache_port,
|
||||
lock_key=config.lock_key,
|
||||
lock_key=lock_key,
|
||||
agentic_lock_expire=config.agentic_lock_expire,
|
||||
agentic_lock_timeout=config.agentic_lock_timeout,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue