Skip to content

Commit

Permalink
DPL: only send the oldest possible timeframe to DPL channels
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf committed Apr 25, 2022
1 parent b6e0538 commit 2a06176
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Framework/Core/src/DataProcessingDevice.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1646,9 +1646,11 @@ bool DataProcessingDevice::tryDispatchComputation(DataProcessorContext& context,

// The oldest possible timeslice for a forwarded message
// is conservatively the one of the device doing the forwarding.
auto oldestTimeslice = timesliceIndex.getOldestPossibleOutput();
DataProcessingHelpers::sendOldestPossibleTimeframe(channel, oldestTimeslice.timeslice.value);
LOGP(debug, "Forwarding to channel {} oldest possible timeslice {}", spec->forwards[fi].channel, oldestTimeslice.timeslice.value);
if (spec->forwards[fi].channel.rfind("from_", 0) == 0) {
auto oldestTimeslice = timesliceIndex.getOldestPossibleOutput();
DataProcessingHelpers::sendOldestPossibleTimeframe(channel, oldestTimeslice.timeslice.value);
LOGP(debug, "Forwarding to channel {} oldest possible timeslice {}", spec->forwards[fi].channel, oldestTimeslice.timeslice.value);
}
}
};

Expand Down

0 comments on commit 2a06176

Please sign in to comment.