From 3c994ce257f27f19fba198b37f4c0a995862264a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 28 Oct 2018 14:17:43 +1000 Subject: [PATCH] Revert "increase db timeout" This reverts commit 71053fcea97c3a16405849800cb5c4cd80748c62. did not seem to help --- anki/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/db.py b/anki/db.py index 4d7485315..f373fe3e0 100644 --- a/anki/db.py +++ b/anki/db.py @@ -10,7 +10,7 @@ from sqlite3 import dbapi2 as sqlite DBError = sqlite.Error class DB: - def __init__(self, path, timeout=5): + def __init__(self, path, timeout=0): self._db = sqlite.connect(path, timeout=timeout) self._db.text_factory = self._textFactory self._path = path