Skip to content
Open
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
8 changes: 4 additions & 4 deletions Framework/Core/src/DataProcessingDevice.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1054,10 +1054,10 @@ void DataProcessingDevice::fillContext(DataProcessorContext& context, DeviceCont
}

auto decideEarlyForward = [&context, &deviceContext, &spec, this]() -> ForwardPolicy {
//ForwardPolicy defaultEarlyForwardPolicy = getenv("DPL_OLD_EARLY_FORWARD") ? ForwardPolicy::AtCompletionPolicySatisified : ForwardPolicy::AtInjection;
// Make the new policy optional until we handle some of the corner cases
// with custom policies which expect the early forward to happen only when
// all the data is available, like in the TPC case.
// ForwardPolicy defaultEarlyForwardPolicy = getenv("DPL_OLD_EARLY_FORWARD") ? ForwardPolicy::AtCompletionPolicySatisified : ForwardPolicy::AtInjection;
// Make the new policy optional until we handle some of the corner cases
// with custom policies which expect the early forward to happen only when
// all the data is available, like in the TPC case.
ForwardPolicy defaultEarlyForwardPolicy = getenv("DPL_NEW_EARLY_FORWARD") ? ForwardPolicy::AtInjection : ForwardPolicy::AtCompletionPolicySatisified;

/// We must make sure there is no optional
Expand Down