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

@@ -37,7 +37,7 @@ void AvsCommandQueue::queue(std::unique_ptr<ICommand> cmd, std::unique_ptr<LtsUt
bool noPendingCommand = m_queue.empty();
m_queue.push_back(CommandWithConn{std::move(cmd), std::move(connection)});
DEBUG_LOG() << "queueing command, queue size: " << m_queue.size();
DEBUG_LOG(m_logger) << "queueing command, queue size: " << m_queue.size();
tryReduce();
if (noPendingCommand)
nextCommand();
@@ -48,7 +48,7 @@ void AvsCommandQueue::done()
Q_ASSERT(!m_queue.empty());
m_timer.stop();
m_queue.pop_front();
DEBUG_LOG() << "command finished, queue size: " << m_queue.size();
DEBUG_LOG(m_logger) << "command finished, queue size: " << m_queue.size();
if (m_queue.empty())
emit queueEmpty();
else
@@ -79,7 +79,7 @@ void AvsCommandQueue::flush()
if (m_queue.empty())
return;
DEBUG_LOG() << "flushing " << m_queue.size() << " commands";
DEBUG_LOG(m_logger) << "flushing " << m_queue.size() << " commands";
m_timer.stop();
m_queue.clear();
emit queueEmpty();
@@ -95,7 +95,7 @@ void AvsCommandQueue::nextCommand()
{
Q_ASSERT(!m_queue.empty());
DEBUG_LOG() << "sending next command";
DEBUG_LOG(m_logger) << "sending next command";
ICommand *cmd = currentCommand();
m_timer.start();
cmd->send();
@@ -124,7 +124,7 @@ void AvsCommandQueue::tryReduce()
if (!lastCommand.cmd->nullifies(current.cmd.get()))
continue;
DEBUG_LOG() << "dropping command due to override";
DEBUG_LOG(m_logger) << "dropping command due to override";
m_queue.erase(m_queue.begin() + i);
return;
}