diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-08-17 09:57:45 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-08-17 10:27:10 +0000 |
commit | 5bfdb5e2a7dcc142e00a73a3c4c7652434abb5fd (patch) | |
tree | 43b0003d67dc6a6fb3a9f136c4281a74498cbfd9 /bin | |
parent | cdadcbe045db5a66cf71b749a9613b901b4316f8 (diff) | |
download | jenkins.debian.net-5bfdb5e2a7dcc142e00a73a3c4c7652434abb5fd.tar.xz |
reproducible: common.py: set a connection timeout of 5 seconds for udd connections
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_common.py | 3 |
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.' + |