Skip to content

Commit 3919975

Browse files
committed
Releasing 1.2.6
1 parent 8a1c587 commit 3919975

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

CHANGELOG

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Changelog
22

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

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

1314
### Version 1.2.3
14-
- Added a Client-side Heartbeat monitor.
15+
- Added a Client-side Heartbeat Checker.
1516
- Added Timeout to Connection.open.
1617
- Fixed potential bug in the Socket Poller error handling.
1718

amqpstorm/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""AMQP-Storm."""
2-
__version__ = '1.2.5'
2+
__version__ = '1.2.6'
33
__author__ = 'eandersson'
44

55
import logging

amqpstorm/connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,11 @@ def _wait_for_connection_to_open(self):
221221
:return:
222222
"""
223223
start_time = time.time()
224-
timeout = self.parameters['timeout'] or 5
224+
timeout = (self.parameters['timeout'] or 10) + 0.25
225225
while not self.is_open:
226+
self.check_for_errors()
226227
if time.time() - start_time > timeout:
227228
raise AMQPConnectionError('Connection timed out')
228-
self.check_for_errors()
229229
sleep(IDLE_WAIT)
230230

231231
def _read_buffer(self, buffer):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"""
77

88
setup(name='AMQP-Storm',
9-
version='1.2.5',
9+
version='1.2.6',
1010
description='Thread-safe Python AMQP Client Library based on pamqp.',
1111
long_description=long_description,
1212
author='Erik Olof Gunnar Andersson',

0 commit comments

Comments
 (0)