Skip to content

Commit

Permalink
reset transport retry status when connection succeeds
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-ls authored and oberstet committed Jan 6, 2022
1 parent 3a8caa6 commit c3f25a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autobahn/wamp/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,7 @@ def on_leave(session, details):
# it completely (i.e. until its Deferred fires) and
# then disconnect this session
def on_join(session, details):
transport.reset()
transport.connect_sucesses += 1
self.log.debug("session on_join: {details}", details=details)
d = txaio.as_future(self._entry, reactor, session)
Expand Down

0 comments on commit c3f25a1

Please sign in to comment.