provision: Use a shorter threshold for clean-unused-caches.

We've had a few reports of folks running out of disk when we're making
rapid changes to dependencies, and this should help prevent that.
This commit is contained in:
Tim Abbott 2019-07-24 13:35:00 -07:00
parent daca742e9f
commit c2bdccbaa8
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ def main(options: argparse.Namespace) -> int:
if destroyed: if destroyed:
print("Dropped %s stale test databases!" % (destroyed,)) print("Dropped %s stale test databases!" % (destroyed,))
run(["scripts/lib/clean-unused-caches"]) run(["scripts/lib/clean-unused-caches", "--threshold=6"])
# Keeping this cache file around can cause eslint to throw # Keeping this cache file around can cause eslint to throw
# random TypeErrors when new/updated dependencies are added # random TypeErrors when new/updated dependencies are added