Skip to content

Commit 1e23267

Browse files
committed
DPL: Should always check if we sent something before sending CCDB message
1 parent 55607cf commit 1e23267

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Framework/Core/src/CommonServices.cxx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -403,11 +403,9 @@ o2::framework::ServiceSpec CommonServices::ccdbSupportSpec()
403403
if (!service) {
404404
return;
405405
}
406-
if (pc.services().get<DeviceState>().streaming == StreamingState::EndOfStreaming) {
407-
if (pc.outputs().countDeviceOutputs(true) == 0) {
408-
LOGP(debug, "We are in EoS w/o outputs, do not automatically add DISTSUBTIMEFRAME to outgoing messages");
409-
return;
410-
}
406+
if (pc.outputs().countDeviceOutputs(true) == 0) {
407+
LOGP(debug, "We are w/o outputs, do not automatically add DISTSUBTIMEFRAME to outgoing messages");
408+
return;
411409
}
412410
const auto ref = pc.inputs().getFirstValid(true);
413411
const auto* dh = DataRefUtils::getHeader<o2::header::DataHeader*>(ref);

0 commit comments

Comments
 (0)