Skip to content

Commit 487ae09

Browse files
committed
backward compatible ccdb setting in pipeline runner
1 parent e2d3cd1 commit 487ae09

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

MC/bin/o2_dpg_workflow_runner.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,6 +1019,12 @@ def execute(self):
10191019
starttime = time.perf_counter()
10201020
psutil.cpu_percent(interval=None)
10211021
os.environ['JOBUTILS_SKIPDONE'] = "ON"
1022+
# a bit ALICEO2+O2DPG specific but for now a convenient place to
1023+
# restore original behaviour of ALICEO2_CCDB_LOCALCACHE semantics
1024+
# TODO: introduce a proper workflow-globalinit section which is defined inside the workflow json
1025+
if os.environ['ALICEO2_CCDB_LOCALCACHE'] != None:
1026+
os.environ['IGNORE_VALIDITYCHECK_OF_CCDB_LOCALCACHE'] = "ON"
1027+
10221028
errorencountered = False
10231029

10241030
def speedup_ROOT_Init():

0 commit comments

Comments
 (0)