Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
@@ -288,13 +288,13 @@ void AvaControl::keepAlive()
|
||||
void AvaControl::onConnected()
|
||||
{
|
||||
m_connected = true;
|
||||
DEBUG_LOG() << "connected";
|
||||
DEBUG_LOG(m_logger) << "connected";
|
||||
}
|
||||
|
||||
void AvaControl::onDisconnected()
|
||||
{
|
||||
m_connected = false;
|
||||
DEBUG_LOG() << "disconnected";
|
||||
DEBUG_LOG(m_logger) << "disconnected";
|
||||
m_queue.flush();
|
||||
}
|
||||
|
||||
@@ -303,12 +303,12 @@ void AvaControl::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);
|
||||
}
|
||||
|
||||
@@ -319,7 +319,7 @@ void AvaControl::queue(ICommand *cmd, LtsUtils::IConnection *connection)
|
||||
|
||||
if (!m_connected)
|
||||
{
|
||||
DEBUG_LOG() << "not connected -> dropping command";
|
||||
DEBUG_LOG(m_logger) << "not connected -> dropping command";
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -449,7 +449,7 @@ void AvaControl::failed(AvaCommands::SetScript *cmd)
|
||||
|
||||
void AvaControl::failed(ICommand *cmd)
|
||||
{
|
||||
ERROR_LOG() << "command '" << cmd->debug() << "' failed";
|
||||
ERROR_LOG(m_logger) << "command '" << cmd->debug() << "' failed";
|
||||
Q_ASSERT(cmd == m_queue.currentCommand());
|
||||
auto cmdSetScript = dynamic_cast<AvaCommands::SetScript*>(cmd);
|
||||
if (cmdSetScript)
|
||||
|
||||
Reference in new issue
Block a user