Module: check_mk
Branch: master
Commit: 8113ab828ee227612718e137f2128c0e9fa3b3d9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8113ab828ee227…
Author: Sergey Kipnis <sk(a)mathias-kettner.de>
Date: Thu Mar 28 16:32:42 2019 +0100
[CMK-1791] - removing plugin player from the main thread. We do not need it any more. Stub
left for the future
Change-Id: I8445eaf79c2d9fcd42d58bd9b71811541456c167
---
agents/wnx/src/engine/service_processor.cpp | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/agents/wnx/src/engine/service_processor.cpp
b/agents/wnx/src/engine/service_processor.cpp
index 4b10a58..acaffba 100644
--- a/agents/wnx/src/engine/service_processor.cpp
+++ b/agents/wnx/src/engine/service_processor.cpp
@@ -229,10 +229,14 @@ int ServiceProcessor::startProviders(AnswerId Tp, std::string Ip) {
}
// Plugins Processing
- if (0 && groups::plugins.enabledInConfig()) {
+#if 0
+ // we do not use anymore separate plugin process(player)
+ // code is here as future refernce to use again separate process
+ if (groups::plugins.enabledInConfig()) {
cma::cfg::SetupPluginEnvironment();
kickPlugins(Tp, Ip);
}
+#endif
if (max_timeout_ <= 0) {
max_timeout_ = cma::cfg::kDefaultAgentMinWait;