Skip to content

Commit b778819

Browse files
committed
DPL: drop obsolete communication method completely
This still parses the input for no reason.
1 parent 4215700 commit b778819

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Framework/Core/src/runDataProcessing.cxx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
#include "Framework/DataTakingContext.h"
6565
#include "Framework/CommonServices.h"
6666
#include "Framework/DefaultsHelpers.h"
67-
#include "ControlServiceHelpers.h"
6867
#include "ProcessingPoliciesHelpers.h"
6968
#include "DriverServerContext.h"
7069
#include "HTTPParser.h"
@@ -848,9 +847,7 @@ void processChildrenOutput(uv_loop_t* loop,
848847
// TODO: have multiple display modes
849848
// TODO: graphical view of the processing?
850849
assert(infos.size() == controls.size());
851-
std::match_results<std::string_view::const_iterator> match;
852850
ParsedMetricMatch metricMatch;
853-
ParsedConfigMatch configMatch;
854851

855852
int processed = 0;
856853
for (size_t di = 0, de = infos.size(); di < de; ++di) {
@@ -881,11 +878,7 @@ void processChildrenOutput(uv_loop_t* loop,
881878
// in the GUI.
882879
// Then we check if it is part of our Poor man control system
883880
// if yes, we execute the associated command.
884-
if (logLevel == LogParsingHelpers::LogLevel::Info && ControlServiceHelpers::parseControl(token, match)) {
885-
throw runtime_error("stdout is not supported anymore as a driver backend. Please use ws://");
886-
} else if (logLevel == LogParsingHelpers::LogLevel::Info && DeviceConfigHelper::parseConfig(token.substr(16), configMatch)) {
887-
throw runtime_error("stdout is not supported anymore as a driver backend. Please use ws://");
888-
} else if (!control.quiet && (token.find(control.logFilter) != std::string::npos) && logLevel >= info.logLevel) {
881+
if (!control.quiet && (token.find(control.logFilter) != std::string::npos) && logLevel >= info.logLevel) {
889882
assert(info.historyPos >= 0);
890883
assert(info.historyPos < info.history.size());
891884
info.history[info.historyPos] = token;

0 commit comments

Comments
 (0)