Skip to content

Commit

Permalink
Version 2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen van der Heijden committed Oct 31, 2016
1 parent f8ae373 commit 9eeeb21
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2016.10.31, Version 2.0.5 (BETA)

- Fixed bug in re-connect loop. (issue #4)

2016.10.27, Version 2.0.4 (BETA)

- Fixed Python 2 to 3 compatibility. (issue #3)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from distutils.core import setup
import setuptools

VERSION = '2.0.4'
VERSION = '2.0.5'

setup(
name='siridb-connector-twisted',
Expand Down
2 changes: 1 addition & 1 deletion siridb/twisted/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from .lib.client import SiriDBClientTwisted


__version_info__ = (2, 0, 4)
__version_info__ = (2, 0, 5)
__version__ = '.'.join(map(str, __version_info__))
__maintainer__ = 'Jeroen van der Heijden'
__email__ = 'jeroen@transceptor.technology'
Expand Down
6 changes: 5 additions & 1 deletion siridb/twisted/lib/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,11 @@ def _connectLoop(self):

result = yield self._connect()

if all([success for success, _ in result]):
# We check for positive results and if all are connected
# since connections might be destroyed while last async
# connect request.
if all([success for success, _ in result]) and \
all([factory.connected for factory in self._factories]):
self._inConnectLoop = False

if not self._retryConnect:
Expand Down

0 comments on commit 9eeeb21

Please sign in to comment.