commit python-amqp for openSUSE:Factory
Hello community, here is the log from the commit of package python-amqp for openSUSE:Factory checked in at 2015-02-18 11:39:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-amqp (Old) and /work/SRC/openSUSE:Factory/.python-amqp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-amqp" Changes: -------- --- /work/SRC/openSUSE:Factory/python-amqp/python-amqp.changes 2014-09-17 17:25:34.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-amqp.new/python-amqp.changes 2015-02-18 12:08:53.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Jan 29 16:15:42 UTC 2015 - dmueller@suse.com + +- replace set_socket_TCP_KEEPALIVE_and_TCP_USER_TIMEOUT.patch + with tune-keepalive-intervals.diff (bnc#902207) + +------------------------------------------------------------------- New: ---- tune-keepalive-intervals.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-amqp.spec ++++++ --- /var/tmp/diff_new_pack.6RuUkX/_old 2015-02-18 12:08:54.000000000 +0100 +++ /var/tmp/diff_new_pack.6RuUkX/_new 2015-02-18 12:08:54.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-amqp # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,7 @@ Source: https://pypi.python.org/packages/source/a/amqp/amqp-%{version}.tar.gz # PATCH-FIX-OPENSUSE speilicke@suse.com -- Avoid excessive doc dependencies Patch0: amqp-drop-sphinxcontrib-issuetracker-dependency.patch +Patch1: tune-keepalive-intervals.diff BuildRequires: python-devel BuildRequires: python-setuptools # Documentation requirements: @@ -49,6 +50,7 @@ %prep %setup -q -n amqp-%{version} %patch0 -p1 +%patch1 -p0 %build python setup.py build ++++++ tune-keepalive-intervals.diff ++++++ --- amqp/transport.py +++ amqp/transport.py @@ -98,6 +98,12 @@ self.sock.settimeout(None) self.sock.setsockopt(SOL_TCP, socket.TCP_NODELAY, 1) self.sock.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1) + # If connection is idle for more than KEEPIDLE seconds + # Start sending a probe every KEEPINTVL seconds + # for KEEPCNT times. If none respond, about the connection + self.sock.setsockopt(socket.SOL_TCP, socket.TCP_KEEPIDLE, 60) + self.sock.setsockopt(socket.SOL_TCP, socket.TCP_KEEPINTVL, 10) + self.sock.setsockopt(socket.SOL_TCP, socket.TCP_KEEPCNT, 9) self._setup_transport() -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de