File tree Expand file tree Collapse file tree
Detectors/Calibration/workflow Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313#include " CCDBPopulatorSpec.h"
1414#include " CommonUtils/ConfigurableParam.h"
1515#include " CommonUtils/NameConf.h"
16+ #include < regex>
1617
1718using namespace o2 ::framework;
1819
@@ -33,7 +34,10 @@ void customize(std::vector<o2::framework::CompletionPolicy>& policies)
3334 // we customize the pipeline processors to consume data as it comes
3435 using CompletionPolicy = o2::framework::CompletionPolicy;
3536 using CompletionPolicyHelpers = o2::framework::CompletionPolicyHelpers;
36- auto & pol = policies.emplace_back (CompletionPolicyHelpers::defineByName (" ccdb-populator.*" , CompletionPolicy::CompletionOp::Consume));
37+ auto matcher = [](o2::framework::DeviceSpec const & device) -> bool {
38+ return std::regex_match (device.name .begin (), device.name .end (), std::regex (" ccdb-populator.*" ));
39+ };
40+ auto & pol = policies.emplace_back (CompletionPolicyHelpers::consumeWhenAll (" ccdb-populator-consume-all" , matcher));
3741 pol.order = CompletionPolicy::CompletionOrder::Slot;
3842}
3943
You can’t perform that action at this time.
0 commit comments