Skip to content

Commit

Permalink
Update Framework/script/RepoCleaner/qcrepocleaner/rules/multiple_per_…
Browse files Browse the repository at this point in the history
…run.py

Co-authored-by: Piotr Konopka <piotr.jan.konopka@cern.ch>
  • Loading branch information
Barthelemy and knopers8 authored Sep 11, 2024
1 parent 6e2007d commit 78c4a58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def process(ccdb: Ccdb, object_path: str, delay: int, from_timestamp: int, to_t
elif first_object.createdAtDt < datetime.now() - timedelta(minutes=mw_deletion_delay):
logger.debug(f" after mw_deletion_delay period, delete this bucket")
for v in run_versions:
if "mw" in v.path: # this is because we really don't want to take the risk of batch deleting non moving windows
if "/mw/" in v.path: # this is because we really don't want to take the risk of batch deleting non moving windows
logger.debug(f" deleting {v}")
deletion_list.append(v)
ccdb.deleteVersion(v)
Expand Down

0 comments on commit 78c4a58

Please sign in to comment.