From 7c6fd3076507f05c7bda799edd73507382f8f46b Mon Sep 17 00:00:00 2001 From: Laurent Aphecetche Date: Sat, 12 Mar 2022 12:49:52 +0100 Subject: [PATCH] MCH: DCS DP change from RAW to DPVAL also make the DCSDPconfig valid up to infinity (instead of the default 1 day) --- Detectors/MUON/Common/src/dcs-ccdb.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Detectors/MUON/Common/src/dcs-ccdb.cxx b/Detectors/MUON/Common/src/dcs-ccdb.cxx index 306f727e85d1a..b5026a522692b 100644 --- a/Detectors/MUON/Common/src/dcs-ccdb.cxx +++ b/Detectors/MUON/Common/src/dcs-ccdb.cxx @@ -109,7 +109,7 @@ void makeCCDBEntryForDCS(const std::string ccdbUrl, uint64_t timestamp) DPID dpidtmp; for (const auto& a : aliases) { auto legitName = o2::muon::replaceDotByUnderscore(a); - DPID::FILL(dpidtmp, legitName, o2::dcs::DeliveryType::RAW_DOUBLE); + DPID::FILL(dpidtmp, legitName, o2::dcs::DeliveryType::DPVAL_DOUBLE); dpid2DataDesc[dpidtmp] = fmt::format("{}DATAPOINTS", o2::muon ::subsysname()); } @@ -120,7 +120,10 @@ void makeCCDBEntryForDCS(const std::string ccdbUrl, uint64_t timestamp) << o2::muon::subsysname() << " data points to " << CcdbDpConfName() << "\n"; - api.storeAsTFileAny(&dpid2DataDesc, CcdbDpConfName(), md, timestamp); + uint64_t endOfValidity = 99999999999999; + + api.storeAsTFileAny(&dpid2DataDesc, CcdbDpConfName(), md, timestamp, + endOfValidity); } bool match(const std::vector& queries, const char* pattern)