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 | 282297e08fd033b29a284c4869bf05a99dd6c411 (patch) | |
| tree | 7b5397fbd979170b2573cafe20f60aece78a3313 /qpid/python | |
| parent | 941af76031ac971ebdce7d052bf32d4ab00a7ef1 (diff) | |
| download | qpid-python-282297e08fd033b29a284c4869bf05a99dd6c411.tar.gz | |
reset reconnect delay after successful connect
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955462 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
| -rw-r--r-- | qpid/python/qpid/messaging/driver.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/python/qpid/messaging/driver.py b/qpid/python/qpid/messaging/driver.py index a6170c0a79..7f0490332b 100644 --- a/qpid/python/qpid/messaging/driver.py +++ b/qpid/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) |
