From 7cd07f49833c8dd2e02da324a5523b64806ac061 Mon Sep 17 00:00:00 2001 From: Gauthier Brion Date: Tue, 3 Feb 2015 18:00:26 +0100 Subject: [PATCH] Fix problem of ms vs seconds for heartbeat --- src/qamqpclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qamqpclient.cpp b/src/qamqpclient.cpp index d6eedfe..aa6f0cc 100644 --- a/src/qamqpclient.cpp +++ b/src/qamqpclient.cpp @@ -504,7 +504,7 @@ void QAmqpClientPrivate::tuneOk() stream << qint16(channelMax); stream << qint32(frameMax); - stream << qint16(heartbeatDelay / 1000); + stream << qint16(heartbeatDelay); frame.setArguments(arguments); sendFrame(frame);