# HG changeset patch # User Luke Bakken <luke@bakken.io> # Date 1529427951 25200 # Tue Jun 19 10:05:51 2018 -0700 # Node ID 88e388c80b596b1707ddc41e100af59717da8eca # Parent 093fdd8abeb19e1fd4bfc24242f9d8a761e02fa8 0.12.0 diff --git a/CHANGELOG.rst b/CHANGELOG.rst --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,8 +1,8 @@ Version History =============== -0.12.0b4 2018-06-07 -------------------- +0.12.0 2018-06-19 +----------------- `GitHub milestone <https://github.com/pika/pika/milestone/12>`_ @@ -48,6 +48,8 @@ Please see `examples/basic_consumer_threaded.py` for an example. As always, `SelectConnection` and a fully async consumer/publisher is the preferred method of using Pika. +Heartbeats are now sent at an interval equal to 1/2 of the negotiated idle connection timeout. RabbitMQ's default timeout value is 60 seconds, so heartbeats will be sent at a 30 second interval. In addition, Pika's check for an idle connection will be done at an interval equal to the timeout value plus 5 seconds to allow for delays. This results in an interval of 65 seconds by default. + 0.11.2 2017-11-30 ----------------- diff --git a/docs/version_history.rst b/docs/version_history.rst --- a/docs/version_history.rst +++ b/docs/version_history.rst @@ -1,8 +1,8 @@ Version History =============== -0.12.0b4 2018-06-07 -------------------- +0.12.0 2018-06-19 +----------------- `GitHub milestone <https://github.com/pika/pika/milestone/12>`_ @@ -48,6 +48,8 @@ Please see `examples/basic_consumer_threaded.py` for an example. As always, `SelectConnection` and a fully async consumer/publisher is the preferred method of using Pika. +Heartbeats are now sent at an interval equal to 1/2 of the negotiated idle connection timeout. RabbitMQ's default timeout value is 60 seconds, so heartbeats will be sent at a 30 second interval. In addition, Pika's check for an idle connection will be done at an interval equal to the timeout value plus 5 seconds to allow for delays. This results in an interval of 65 seconds by default. + 0.11.2 2017-11-30 ----------------- diff --git a/pika/__init__.py b/pika/__init__.py --- a/pika/__init__.py +++ b/pika/__init__.py @@ -1,4 +1,4 @@ -__version__ = '0.12.0b4' +__version__ = '0.12.0' import logging from logging import NullHandler diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -16,13 +16,13 @@ setuptools.setup( name='pika', - version='0.12.0b4', + version='0.12.0', description='Pika Python AMQP Client Library', long_description=open('README.rst').read(), maintainer='Gavin M. Roy', maintainer_email='gavinmroy@gmail.com', url='https://pika.readthedocs.io', - packages=['pika', 'pika.adapters'], + packages=setuptools.find_packages(include=['pika', 'pika.*']), license='BSD', install_requires=requirements, package_data={'': ['LICENSE', 'README.rst']},