[Qa-jenkins-scm] [jenkins.debian.net] 02/06: reproducible: common.py: set a connection timeout of 5 seconds for udd connections

Holger Levsen holger at moszumanska.debian.org
Tue Aug 18 11:36:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 5bfdb5e2a7dcc142e00a73a3c4c7652434abb5fd
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Mon Aug 17 09:57:45 2015 +0000

    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 e51afd7..c147511 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.' +

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list