Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Framework/Core/src/DataProcessingDevice.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1070,6 +1070,15 @@ void DataProcessingDevice::fillContext(DataProcessorContext& context, DeviceCont
break;
}
}
// Output proxies should wait for the completion policy before forwarding.
// Because they actually do not do anything, that's equivalent to
// forwarding after the processing.
for (auto& label : spec.labels) {
if (label.value == "output-proxy") {
defaultEarlyForwardPolicy = ForwardPolicy::AfterProcessing;
break;
}
}

/// We must make sure there is no optional
/// if we want to optimize the forwarding
Expand Down
2 changes: 2 additions & 0 deletions Framework/Core/src/ExternalFairMQDeviceProxy.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,7 @@ DataProcessorSpec specifyFairMQDeviceOutputProxy(char const* name,
spec.options = {
ConfigParamSpec{"channel-config", VariantType::String, d, {"Out-of-band channel config"}},
};
spec.labels.push_back(DataProcessorLabel{"output-proxy"});

return spec;
}
Expand Down Expand Up @@ -1180,6 +1181,7 @@ DataProcessorSpec specifyFairMQDeviceMultiOutputProxy(char const* name,
spec.options = {
ConfigParamSpec{"channel-config", VariantType::String, d, {"Out-of-band channel config"}},
};
spec.labels.push_back(DataProcessorLabel{"output-proxy"});

return spec;
}
Expand Down