diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-03-13 10:37:41 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-13 10:37:41 +0100 |
commit | cad5fbaa6494dbcce078d121271d95d8ce653719 (patch) | |
tree | 9c561c77624e55ca96df3f7ccbcadddeb5996bec | |
parent | 7642c0fa9d8af9872b3073082ef17c41ee314feb (diff) | |
download | jenkins.debian.net-cad5fbaa6494dbcce078d121271d95d8ce653719.tar.xz |
reproducible: set sqlite3 timeout to 60s
-rwxr-xr-x | bin/reproducible_common.py | 2 |
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() |