We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c07725a commit db39975Copy full SHA for db39975
sources/network/mqtt.cpp
@@ -12,7 +12,7 @@ constexpr auto CONNECT_TIMEOUT = std::chrono::seconds(5);
12
constexpr auto KEEP_ALIVE = std::chrono::seconds(60);
13
14
Mqtt::Mqtt(const Config& config)
15
- : m_config(config), m_client(config.mqttUrl(), "sdr-scanner"), m_isRunning(true), m_thread([this, config]() {
+ : m_config(config), m_client(config.mqttUrl(), fmt::format("sdr-scanner-{}", config.getId())), m_isRunning(true), m_thread([this, config]() {
16
Logger::info(LABEL, "started");
17
connect();
18
while (m_isRunning) {
0 commit comments