mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
Revert "increase db timeout"
This reverts commit 71053fcea9
.
did not seem to help
This commit is contained in:
parent
e18bd4d67d
commit
3c994ce257
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue