lower live TM handler frequency

This commit is contained in:
Robin Müller 2023-04-26 17:38:06 +02:00
parent 490790bd0c
commit 67c0a3b03e

View File

@ -90,9 +90,9 @@ void scheduling::initTasks() {
if (result != returnvalue::OK) {
sif::error << "Add component UDP Polling failed" << std::endl;
}
// All the TM store tasks run in permanent loops, frequency does not matter
PeriodicTaskIF* liveTmTask = factory->createPeriodicTask(
"LIVE_TM", 55, PeriodicTaskIF::MINIMUM_STACK_SIZE, 1.0, nullptr, &RR_SCHEDULING);
"LIVE_TM", 55, PeriodicTaskIF::MINIMUM_STACK_SIZE, 0.4, nullptr, &RR_SCHEDULING);
result = liveTmTask->addComponent(objects::LIVE_TM_TASK);
if (result != returnvalue::OK) {
scheduling::printAddObjectError("LIVE_TM", objects::LIVE_TM_TASK);