mirror of https://github.com/zulip/zulip.git
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:
parent
daca742e9f
commit
c2bdccbaa8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue