diff options
author | Ted Ross <tross@apache.org> | 2010-09-07 12:53:37 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2010-09-07 12:53:37 +0000 |
commit | 862029a61a1121b39357d4dee82f9b6adf63a8bd (patch) | |
tree | 5e8d48588cba58c527d7448b42444a06c9d491c7 /cpp/src | |
parent | e7dd24bb3c667e0b1c0d74928c7c1e4d93f881ed (diff) | |
download | qpid-python-862029a61a1121b39357d4dee82f9b6adf63a8bd.tar.gz |
Add heartbeat value to the simpler init() case. Applications that use this init function
will now get the protection of a connection heartbeat.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@993339 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/agent/ManagementAgentImpl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/agent/ManagementAgentImpl.cpp b/cpp/src/qpid/agent/ManagementAgentImpl.cpp index 25d24a542c..7ecc5e9807 100644 --- a/cpp/src/qpid/agent/ManagementAgentImpl.cpp +++ b/cpp/src/qpid/agent/ManagementAgentImpl.cpp @@ -196,6 +196,7 @@ void ManagementAgentImpl::init(const string& brokerHost, settings.username = uid; settings.password = pwd; settings.mechanism = mech; + settings.heartbeat = 10; init(settings, intervalSeconds, useExternalThread, _storeFile); } |