We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acef3df commit 6998938Copy full SHA for 6998938
src/agent/src/agent.cpp
@@ -81,7 +81,7 @@ void Agent::ReloadModules()
81
m_configurationParser->ReloadConfiguration();
82
m_moduleManager.Stop();
83
m_moduleManager.Setup();
84
- m_taskManager.EnqueueTask([this]() { m_moduleManager.Start(); }, "StartModuleManager");
+ m_moduleManager.Start();
85
}
86
87
void Agent::Run()
@@ -122,7 +122,7 @@ void Agent::Run()
122
"Stateless");
123
124
m_moduleManager.AddModules();
125
126
127
m_taskManager.EnqueueTask(
128
m_commandHandler.CommandsProcessingTask<module_command::CommandEntry>(
0 commit comments