From c2bdccbaa8eca3c3c10e1cc0d02117032fe090f8 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 24 Jul 2019 13:35:00 -0700 Subject: [PATCH] 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. --- tools/lib/provision_inner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lib/provision_inner.py b/tools/lib/provision_inner.py index 3d9d357f0b..c59f931ccf 100755 --- a/tools/lib/provision_inner.py +++ b/tools/lib/provision_inner.py @@ -173,7 +173,7 @@ def main(options: argparse.Namespace) -> int: if 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 # random TypeErrors when new/updated dependencies are added