[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: set sqlite3 timeout to 60s

Holger Levsen holger at moszumanska.debian.org
Fri Mar 13 09:40:48 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit cad5fbaa6494dbcce078d121271d95d8ce653719
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Mar 13 10:37:41 2015 +0100

    reproducible: set sqlite3 timeout to 60s
---
 bin/reproducible_common.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 9c52fbc..e613799 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()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list