Skip to content
This repository was archived by the owner on Jul 18, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# The version number.
set(AGENT_VERSION_MAJOR 2)
set(AGENT_VERSION_MINOR 0)
set(AGENT_VERSION_MINOR 1)
set(AGENT_VERSION_PATCH 0)
set(AGENT_VERSION_BUILD 13)
set(AGENT_VERSION_BUILD 1)
set(AGENT_VERSION_RC "_RC1")

# This minimum version is to support Visual Studio 2017 and C++ feature checking and FetchContent
Expand Down
1 change: 1 addition & 0 deletions src/mqtt/mqtt_client_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ namespace mtconnect {
if (m_handler && m_handler->m_connecting)
m_handler->m_connecting(shared_from_this());

derived().getClient()->set_clean_session(true);
derived().getClient()->async_connect([this](mqtt::error_code ec) {
if (ec)
{
Expand Down