Skip to content

Commit fec521f

Browse files
authored
ITSMFT: Protect CCDB querying in case we don't need IRFrames (AliceO2Group#13661)
1 parent 096694b commit fec521f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/ITSMFT/common/workflow/src/DigitReaderSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void DigitReader::init(InitContext& ic)
7070
void DigitReader::run(ProcessingContext& pc)
7171
{
7272
const auto& tinfo = pc.services().get<o2::framework::TimingInfo>();
73-
if (tinfo.globalRunNumberChanged) { // new run is starting: 1st call
73+
if (tinfo.globalRunNumberChanged && mUseIRFrames) { // new run is starting: 1st call
7474
// TODO: we have to find a way define CCDBInput for IRFrames mode only using DPL fetcher
7575
auto& ccdb = o2::ccdb::BasicCCDBManager::instance();
7676
auto rlim = ccdb.getRunDuration(tinfo.runNumber);

0 commit comments

Comments
 (0)