summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2010-06-17 02:18:24 +0000
committerRafael H. Schloming <rhs@apache.org>2010-06-17 02:18:24 +0000
commit1c00c077e5064ed8c3b09a49d1b8aa42ea91a488 (patch)
treeaaba6d0cb5727eda592328bf033622a0c655c255 /python
parente0218aa1ff9071fd5b5c44e05f2a0a6902d989ad (diff)
downloadqpid-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.py1
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)