File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 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.
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
Original file line number Diff line number Diff line change 11"""AMQP-Storm."""
2- __version__ = '1.2.5 '
2+ __version__ = '1.2.6 '
33__author__ = 'eandersson'
44
55import logging
Original file line number Diff line number Diff 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 ):
Original file line number Diff line number Diff line change 66"""
77
88setup (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' ,
You can’t perform that action at this time.
0 commit comments