refactor: simplify task configuration and registration

This commit is contained in:
Yurii committed 2026-11-29 11:27:13 +03:00
1 parent d19f6aaa52
commit 4004927ecd
9 files changed
+38 -55

No files matched your search

+2 -3
View File
@@ -230,10 +230,9 @@ bool initLogging() {
configureLoggingTask.forceRun();
loggingQueue.store(queue, std::memory_order_release);
systemTaskManager.addTask(configureLoggingTask);
sendLogsTask.setInterval(10);
systemTaskManager.addTask(sendLogsTask);
systemTaskManager.addTask(configureLoggingTask);
systemTaskManager.addTask(sendLogsTask.setInterval(10));
return true;
}