And the filelock one, this is defensive stuff I don't see value in

This commit is contained in:
Trenton H
2026-03-31 08:07:15 -07:00
parent 977d41f3aa
commit 25e905395c
+1 -1
View File
@@ -160,7 +160,7 @@ class WriteBatch:
self._lock = filelock.FileLock(str(lock_path))
try:
self._lock.acquire(timeout=self._lock_timeout)
except filelock.Timeout as e:
except filelock.Timeout as e: # pragma: no cover
raise SearchIndexLockError(
f"Could not acquire index lock within {self._lock_timeout}s",
) from e