|
|
@ -27,7 +27,11 @@ void AddLiquidService::initialize() { |
|
|
|
} catch (const std::exception& e) { |
|
|
|
logger->error("stateUpdateThread error:{}", e.what()); |
|
|
|
} |
|
|
|
ThisThread().sleepForMs(500); |
|
|
|
if (m_workstate == kidle) { |
|
|
|
ThisThread().sleepForMs(5000); |
|
|
|
} else { |
|
|
|
ThisThread().sleepForMs(1000); |
|
|
|
} |
|
|
|
} |
|
|
|
})); |
|
|
|
} else { |
|
|
|