From cad5fbaa6494dbcce078d121271d95d8ce653719 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 13 Mar 2015 10:37:41 +0100 Subject: 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 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() -- cgit v1.2.3-70-g09d2