@@ -156,7 +156,8 @@ void DCSDevice::sendObject(DataAllocator& output, T& obj, const CDBType calibTyp
156156
157157 std::map<std::string, std::string> md = mCDBStorage .getMetaData ();
158158 o2::ccdb::CcdbObjectInfo w;
159- o2::calibration::Utils::prepareCCDBobjectInfo (obj, w, CDBTypeMap.at (calibType), md, mUpdateIntervalStart , mLastCreationTime - 1 );
159+ // for online processing extend the validity range. Will be truncated with the adjustableEOV procedure
160+ o2::calibration::Utils::prepareCCDBobjectInfo (obj, w, CDBTypeMap.at (calibType), md, mUpdateIntervalStart , mLastCreationTime + 2 * mCCDBupdateInterval * 1000 );
160161 auto image = o2::ccdb::CcdbApi::createObjectImage (&obj, &w);
161162
162163 LOGP (info, " Sending object {} / {} of size {} bytes, valid for {} : {} " , w.getPath (), w.getFileName (), image->size (), w.getStartValidityTimestamp (), w.getEndValidityTimestamp ());
@@ -195,11 +196,11 @@ DataProcessorSpec getDCSSpec()
195196 Options{
196197 {" write-debug" , VariantType::Bool, false , {" write a debug output tree" }},
197198 {" report-timing" , VariantType::Bool, false , {" Report timing for every slice" }},
198- {" update-interval" , VariantType::Int, 60 * 5 , {" update interval in seconds for which ccdb entries are written" }},
199- {" fit-interval" , VariantType::Int, 60 , {" interval in seconds for which to e.g. perform fits of the temperature sensors" }},
199+ {" update-interval" , VariantType::Int, 60 * 15 , {" update interval in seconds for which ccdb entries are written" }},
200+ {" fit-interval" , VariantType::Int, 60 * 5 , {" interval in seconds for which to e.g. perform fits of the temperature sensors" }},
200201 {" round-to-interval" , VariantType::Bool, false , {" round fit interval to fixed times e.g. to every 5min in the hour" }},
201202 } // end Options
202- }; // end DataProcessorSpec
203+ }; // end DataProcessorSpec
203204}
204205
205206} // end namespace o2::tpc
0 commit comments