Skip to content

Commit 3709196

Browse files
committed
Change TOF/Calib/FEELIGHT lifespan to 1 month
1 parent dcb6e10 commit 3709196

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Detectors/TOF/calibration/testWorkflow/TOFDCSConfigProcessorSpec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class TOFDCSConfigProcessor : public o2::framework::Task
8080
auto flName = o2::ccdb::CcdbApi::generateFileName(clName);
8181
std::map<std::string, std::string> md;
8282
md.emplace("created_by", "dpl");
83-
o2::ccdb::CcdbObjectInfo info("TOF/Calib/FEELIGHT", clName, flName, md, tf, o2::ccdb::CcdbObjectInfo::INFINITE_TIMESTAMP);
83+
o2::ccdb::CcdbObjectInfo info("TOF/Calib/FEELIGHT", clName, flName, md, tf, tf + o2::ccdb::CcdbObjectInfo::MONTH);
8484
auto image = o2::ccdb::CcdbApi::createObjectImage(&payload, &info);
8585
LOG(info) << "Sending object " << info.getPath() << "/" << info.getFileName() << " of size " << image->size()
8686
<< " bytes, valid for " << info.getStartValidityTimestamp() << " : " << info.getEndValidityTimestamp();

0 commit comments

Comments
 (0)