Skip to content

Commit

Permalink
DPL: add injected CCDB messages in finaliseOutputs
Browse files Browse the repository at this point in the history
This is needed to avoid a race condition where outputs are sent after
the end of stream.
  • Loading branch information
ktf authored and davidrohr committed Oct 18, 2023
1 parent 2e6ed5f commit e60697e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Framework/Core/src/CommonServices.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ o2::framework::ServiceSpec CommonServices::ccdbSupportSpec()
return ServiceHandle{.hash = TypeIdHelpers::uniqueId<CCDBSupport>(), .instance = nullptr, .kind = ServiceKind::Serial};
},
.configure = noConfiguration(),
.postProcessing = [](ProcessingContext& pc, void* service) {
.finaliseOutputs = [](ProcessingContext& pc, void* service) {
if (!service) {
return;
}
Expand Down

0 comments on commit e60697e

Please sign in to comment.