python-jenkins-developers team mailing list archive
-
python-jenkins-developers team
-
Mailing list archive
-
Message #00150
[Bug 1273329] Re: Connections can hang forever
python-jenkins uses urllib2.urlopen, which does accept a timeout.
--
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bugs.launchpad.net/bugs/1273329
Title:
Connections can hang forever
Status in Python API for Jenkins:
New
Bug description:
Jenkins does not always connect, but this library does not provide for
http timeouts. Just this weekend, I saw a script hang for 36 hours
because of this, even though this script was running against
localhost. I will try setting socket.setdefaulttimeout, but globals
are bad and a sane default would be better.
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1273329/+subscriptions
References