Skip to content

Commit

Permalink
Releasing 1.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
eandersson committed Nov 22, 2015
1 parent 8a1c587 commit 3919975
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Changelog

### Version 1.2.x
### Version 1.2.6
- TLSv1 or higher is now required for SSL connections.
- Heartbeat Checker is no longer started before the Connection has been established.

### Version 1.2.5
- Fixed Connection.Open bug triggered by the RabbitMQ Server not listening to the IPv6 loop-back.
Expand All @@ -11,7 +12,7 @@
- Fixed compatibility issues with Python 2.6 and UriConnection.

### Version 1.2.3
- Added a Client-side Heartbeat monitor.
- Added a Client-side Heartbeat Checker.
- Added Timeout to Connection.open.
- Fixed potential bug in the Socket Poller error handling.

Expand Down
2 changes: 1 addition & 1 deletion amqpstorm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""AMQP-Storm."""
__version__ = '1.2.5'
__version__ = '1.2.6'
__author__ = 'eandersson'

import logging
Expand Down
4 changes: 2 additions & 2 deletions amqpstorm/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,11 @@ def _wait_for_connection_to_open(self):
:return:
"""
start_time = time.time()
timeout = self.parameters['timeout'] or 5
timeout = (self.parameters['timeout'] or 10) + 0.25
while not self.is_open:
self.check_for_errors()
if time.time() - start_time > timeout:
raise AMQPConnectionError('Connection timed out')
self.check_for_errors()
sleep(IDLE_WAIT)

def _read_buffer(self, buffer):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"""

setup(name='AMQP-Storm',
version='1.2.5',
version='1.2.6',
description='Thread-safe Python AMQP Client Library based on pamqp.',
long_description=long_description,
author='Erik Olof Gunnar Andersson',
Expand Down

0 comments on commit 3919975

Please sign in to comment.