From 321559c8db879368e81edb01f9a8493020e9f234 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 7a2dc6066c7c2294afbcae06b86511a8a80bb5dd. 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