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.
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.