Skip to content

Commit

Permalink
Core setup
Browse files Browse the repository at this point in the history
  • Loading branch information
JBorrow committed Nov 14, 2024
1 parent e15f99b commit 5bed8cb
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions librarian_background/rolling_deletion.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"""
A (very) dangerous task that you may have to use. This task will delete files that
are older than a certain age, subject to some (optional) constraints:
a) The file must have $N$ remote instances available throughout the network
b) The checksums of those files must match the original checksum
"""

from .task import Task


class RollingDeletion(Task):
"""
A background task that deletes _instances_ (not files!) that are older than
a certain age.
"""

pass

0 comments on commit 5bed8cb

Please sign in to comment.