diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-03-10 19:30:46 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-03-10 19:30:46 +0000 |
commit | 4f775dce095c996ed5f036b44de6fdbb59d6751a (patch) | |
tree | a9ab80681df68ffd4bba0e59bcecc3eba9b1dc20 /cppe/src/IceE/ProxyFactory.cpp | |
parent | Minor mistake in retry port (diff) | |
download | ice-4f775dce095c996ed5f036b44de6fdbb59d6751a.tar.bz2 ice-4f775dce095c996ed5f036b44de6fdbb59d6751a.tar.xz ice-4f775dce095c996ed5f036b44de6fdbb59d6751a.zip |
Minor fix to retry port
Diffstat (limited to 'cppe/src/IceE/ProxyFactory.cpp')
-rw-r--r-- | cppe/src/IceE/ProxyFactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppe/src/IceE/ProxyFactory.cpp b/cppe/src/IceE/ProxyFactory.cpp index 00cf23f10f7..8f1cd6d1141 100644 --- a/cppe/src/IceE/ProxyFactory.cpp +++ b/cppe/src/IceE/ProxyFactory.cpp @@ -169,12 +169,12 @@ IceInternal::ProxyFactory::checkRetryAfterException(const LocalException& ex, co out << " because of exception\n" << ex.toString(); } - if(cnt > 0) + if(interval > 0) { // // Sleep before retrying. // - IceUtil::ThreadControl::sleep(IceUtil::Time::milliSeconds(_retryIntervals[cnt - 1])); + IceUtil::ThreadControl::sleep(IceUtil::Time::milliSeconds(interval)); } } |