diff options
author | Lester Solbakken <lesters@users.noreply.github.com> | 2019-01-11 08:14:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-11 08:14:39 +0100 |
commit | 158dcad12781af923ea3856f988fdf9c6d5e3e0b (patch) | |
tree | 400201604c017dccdeed9f11563f368331805c42 /node-admin | |
parent | 971b57d0d6985bc33543cda13bca95096f7cfa92 (diff) | |
parent | ab54ef0073c78aaf0abe3769a6b9333779d3465a (diff) |
Merge pull request #8069 from vespa-engine/lesters/download-urls
Lesters/download urls
Diffstat (limited to 'node-admin')
-rw-r--r-- | node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java index 0cd50a649b1..47255c54455 100644 --- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java +++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java @@ -249,6 +249,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 */ |