VEuPathDB / lib-compute-platform

Async compute platform core.
1 stars 0 forks source link

Cache pruning. #1

Closed Foxcapades closed 2 years ago

Foxcapades commented 2 years ago

We need a utility that can be called periodically to prune stale cache entries. Cache entries are determined to be stale if they have not been accessed within a configured period of time between some number of days before now and now.

The cache pruner should locate the cached workspaces, delete their contents, and write an 'expired' flag to each to indicate to other services operating on the same bucket that the job has expired.