summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-13 10:37:41 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-13 10:37:41 +0100
commitcad5fbaa6494dbcce078d121271d95d8ce653719 (patch)
tree9c561c77624e55ca96df3f7ccbcadddeb5996bec /bin
parent7642c0fa9d8af9872b3073082ef17c41ee314feb (diff)
downloadjenkins.debian.net-cad5fbaa6494dbcce078d121271d95d8ce653719.tar.xz
reproducible: set sqlite3 timeout to 60s
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 9c52fbc2..e613799f 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -235,7 +235,7 @@ def write_html_page(title, body, destfile, suite=None, noheader=False, style_not
fd.write(html)
def start_db_connection():
- return sqlite3.connect(REPRODUCIBLE_DB)
+ return sqlite3.connect(REPRODUCIBLE_DB, timeout=60)
def query_db(query):
cursor = conn_db.cursor()