From 5bfdb5e2a7dcc142e00a73a3c4c7652434abb5fd Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Mon, 17 Aug 2015 09:57:45 +0000 Subject: reproducible: common.py: set a connection timeout of 5 seconds for udd connections --- bin/reproducible_common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.' + -- cgit v1.2.3-54-g00ecf