diff options
author | Rafael H. Schloming <rhs@apache.org> | 2010-06-17 02:18:24 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2010-06-17 02:18:24 +0000 |
commit | 1c00c077e5064ed8c3b09a49d1b8aa42ea91a488 (patch) | |
tree | aaba6d0cb5727eda592328bf033622a0c655c255 /python | |
parent | e0218aa1ff9071fd5b5c44e05f2a0a6902d989ad (diff) | |
download | qpid-python-1c00c077e5064ed8c3b09a49d1b8aa42ea91a488.tar.gz |
reset reconnect delay after successful connect
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955462 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
-rw-r--r-- | python/qpid/messaging/driver.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/qpid/messaging/driver.py b/python/qpid/messaging/driver.py index a6170c0a79..7f0490332b 100644 --- a/python/qpid/messaging/driver.py +++ b/python/qpid/messaging/driver.py @@ -480,6 +480,7 @@ class Driver: self._timeout = None self._attempts = 0 self._host = 0 + self._delay = self.connection.reconnect_interval_min self._retrying = False except socket.error, e: self._host = (self._host + 1) % len(self._hosts) |