Adds immediate migration results in progress

This commit is contained in:
torsten committed 2026-08-19 11:18:24 +02:00
1 parent 8453e104c5
commit 3bb6e89496
2102 files changed
+17482 -15071

No files matched your search

@@ -58,13 +58,13 @@ void VdControl::keepAlive()
void VdControl::onConnected()
{
m_connected = true;
DEBUG_LOG() << "connected";
DEBUG_LOG(m_logger) << "connected";
}
void VdControl::onDisconnected()
{
m_connected = false;
DEBUG_LOG() << "disconnected";
DEBUG_LOG(m_logger) << "disconnected";
m_queue.flush();
}
@@ -73,12 +73,12 @@ void VdControl::onTimeout()
ICommand *cmd = m_queue.currentCommand();
if (cmd->canTimeout())
{
INFO_LOG() << "command '" << cmd->debug() << "' failed";
INFO_LOG(m_logger) << "command '" << cmd->debug() << "' failed";
m_queue.done();
return;
}
ERROR_LOG() << "command timed out";
ERROR_LOG(m_logger) << "command timed out";
failed(cmd);
}
@@ -97,7 +97,7 @@ void VdControl::queue(ICommand *cmd, LtsUtils::IConnection *connection)
if (!m_connected)
{
DEBUG_LOG() << "not connected -> dropping command";
DEBUG_LOG(m_logger) << "not connected -> dropping command";
return;
}
@@ -127,7 +127,7 @@ void VdControl::done(AvaCommands::VdSetScript *cmd)
void VdControl::failed(ICommand *cmd)
{
ERROR_LOG() << "command '" << cmd->debug() << "' failed";
ERROR_LOG(m_logger) << "command '" << cmd->debug() << "' failed";
Q_ASSERT(cmd == m_queue.currentCommand());
m_queue.flush();
m_comm->forceDisconnect();