Module: it's come to this. bump the default sqlite connection timeout to 60 sec
This commit is contained in:
parent
b82dd382ee
commit
78f7614987
@ -174,7 +174,7 @@ class Module(object):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
dbfile = self.config.get('dr.botzo', 'database')
|
dbfile = self.config.get('dr.botzo', 'database')
|
||||||
conn = sqlite3.connect(dbfile, 30)
|
conn = sqlite3.connect(dbfile, 60)
|
||||||
conn.row_factory = sqlite3.Row
|
conn.row_factory = sqlite3.Row
|
||||||
|
|
||||||
# setup regexp function in sqlite
|
# setup regexp function in sqlite
|
||||||
|
Loading…
Reference in New Issue
Block a user