summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-08-17 09:57:45 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-08-17 10:27:10 +0000
commit5bfdb5e2a7dcc142e00a73a3c4c7652434abb5fd (patch)
tree43b0003d67dc6a6fb3a9f136c4281a74498cbfd9 /bin
parentcdadcbe045db5a66cf71b749a9613b901b4316f8 (diff)
downloadjenkins.debian.net-5bfdb5e2a7dcc142e00a73a3c4c7652434abb5fd.tar.xz
reproducible: common.py: set a connection timeout of 5 seconds for udd connections
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index e51afd7c..c1475117 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -325,7 +325,8 @@ def start_udd_connection():
database=db,
user=username,
host=host,
- password=password
+ password=password,
+ connect_timeout=5,
)
except:
log.error('Erorr connecting to the UDD database replica.' +