From 862029a61a1121b39357d4dee82f9b6adf63a8bd Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Tue, 7 Sep 2010 12:53:37 +0000 Subject: 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 --- cpp/src/qpid/agent/ManagementAgentImpl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp') 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); } -- cgit v1.2.1