Skip to content

Commit

Permalink
Promoting 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
eandersson committed Apr 23, 2017
1 parent 477825c commit a229ef5
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -11,6 +11,7 @@ python:
- 3.7-dev
- nightly
- pypy
- pypy3
- pypy-5.3.1
install:
- sudo rabbitmq-plugins enable rabbitmq_management
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.rst
@@ -1,6 +1,10 @@
Changelog
=========

Version 2.2.2
-------------
- Fixed potential Heartbeat deadlock when forcefully killing process - Thanks Charles Pierre.

Version 2.2.1
-------------
- Fixed potential Channel leak [#36] - Thanks Adam Mills.
Expand Down
4 changes: 4 additions & 0 deletions README.rst
Expand Up @@ -21,6 +21,10 @@ Additional documentation is available on `amqpstorm.io <https://www.amqpstorm.io
Changelog
=========

Version 2.2.2
-------------
- Fixed potential Heartbeat deadlock when forcefully killing process - Thanks Charles Pierre.

Version 2.2.1
-------------
- Fixed potential Channel leak [#36] - Thanks Adam Mills.
Expand Down
2 changes: 1 addition & 1 deletion amqpstorm/__init__.py
@@ -1,5 +1,5 @@
"""AMQPStorm."""
__version__ = '2.2.1' # noqa
__version__ = '2.2.2' # noqa
__author__ = 'eandersson' # noqa

import logging
Expand Down
2 changes: 1 addition & 1 deletion amqpstorm/heartbeat.py
Expand Up @@ -45,8 +45,8 @@ def start(self, exceptions):
"""
if not self._interval:
return False
self._running.set()
with self._lock:
self._running.set()
self._threshold = 0
self._reads_since_check = 0
self._writes_since_check = 0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -3,7 +3,7 @@

setup(
name='AMQPStorm',
version='2.2.1',
version='2.2.2',
description='Thread-safe Python RabbitMQ Client & Management library.',
long_description=open('README.rst').read(),
author='Erik Olof Gunnar Andersson',
Expand Down

0 comments on commit a229ef5

Please sign in to comment.