diff --git a/conan/internal/cache/db/table.py b/conan/internal/cache/db/table.py index 5ad675ad68f..e4e150d26e4 100644 --- a/conan/internal/cache/db/table.py +++ b/conan/internal/cache/db/table.py @@ -23,8 +23,8 @@ def __init__(self, filename): @contextmanager def db_connection(self): - assert self._lock.acquire(timeout=10), "Conan failed to acquire database lock" - connection = sqlite3.connect(self.filename, isolation_level=None, timeout=10) + assert self._lock.acquire(timeout=20), "Conan failed to acquire database lock" + connection = sqlite3.connect(self.filename, isolation_level=None, timeout=20) try: yield connection finally: