Delete downloaded files older than 31 days
@@ -250,6 +250,10 @@ public class StorageMaintainer {
FileFinder.directories(context.pathOnHostFromPathInNode(context.pathInNodeUnderVespaHome("var/db/vespa/filedistribution")))
.match(olderThan(Duration.ofDays(31)))
.deleteRecursively();
+
+ FileFinder.directories(context.pathOnHostFromPathInNode(context.pathInNodeUnderVespaHome("var/db/vespa/download")))
+ .match(olderThan(Duration.ofDays(31)))
+ .deleteRecursively();
}
/** Checks if container has any new coredumps, reports and archives them if so */
