From e60697e70f8625aa7d973ddb6da6ad37647bbe93 Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Mon, 16 Oct 2023 22:12:21 +0200 Subject: [PATCH] DPL: add injected CCDB messages in finaliseOutputs This is needed to avoid a race condition where outputs are sent after the end of stream. --- Framework/Core/src/CommonServices.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Framework/Core/src/CommonServices.cxx b/Framework/Core/src/CommonServices.cxx index 81b1216c90c9c..9d577ca5b990a 100644 --- a/Framework/Core/src/CommonServices.cxx +++ b/Framework/Core/src/CommonServices.cxx @@ -399,7 +399,7 @@ o2::framework::ServiceSpec CommonServices::ccdbSupportSpec() return ServiceHandle{.hash = TypeIdHelpers::uniqueId(), .instance = nullptr, .kind = ServiceKind::Serial}; }, .configure = noConfiguration(), - .postProcessing = [](ProcessingContext& pc, void* service) { + .finaliseOutputs = [](ProcessingContext& pc, void* service) { if (!service) { return; }