-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |