fix(mcp): declare the redis key family on the semantic index lock check

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
mrinal 2026-10-11 18:13:36 +00:00
parent eb0ef31fd6
commit 4da2587912

View file

@ -80,6 +80,7 @@ class RedisToolVectorStore:
self._degraded = True
verbose_logger.warning("MCP semantic tool index store put_many failed; vectors stay local: %s", e)
@with_service_target(_CACHE_TARGET)
async def try_acquire_build_lock(self) -> bool:
# PodLockManager returns False on Redis errors too; once degraded, embed locally instead of waiting.
try: