diff options
author | Mattia Rizzolo <mattia@debian.org> | 2016-08-20 07:32:27 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-08-20 09:35:01 +0200 |
commit | 6613ef8c03964ea1c581beb31beb8af08b125a7a (patch) | |
tree | 9a63cae9b2b517311bae3abefa7db40f12a8d895 | |
parent | 8b91ff5387ffc39a1c0a4d17f9b6e488c9cdc285 (diff) | |
download | jenkins.debian.net-6613ef8c03964ea1c581beb31beb8af08b125a7a.tar.xz |
reproducible debian: raise the connetion timeout to the db to 30 seconds
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-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 d6d4a138..1f31d736 100755 --- a/bin/reproducible_common.py +++ b/bin/reproducible_common.py @@ -95,7 +95,7 @@ with open(os.path.join(BIN_PATH, './meta_pkgset.csv'), newline='') as f: META_PKGSET[int(line[0])] = (line[2], line[1]) # init the database data and connection -DB_ENGINE = create_engine("sqlite:///" + REPRODUCIBLE_DB) +DB_ENGINE = create_engine("sqlite:///" + REPRODUCIBLE_DB, connect_args={'timeout': 30}) DB_METADATA = MetaData(DB_ENGINE) # Get all table definitions conn_db = DB_ENGINE.connect() # the local sqlite3 reproducible db |