Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache cleanup #1368

Closed
marwie opened this issue Apr 24, 2024 · 2 comments · Fixed by #1369
Closed

Cache cleanup #1368

marwie opened this issue Apr 24, 2024 · 2 comments · Fixed by #1369
Labels
bug Something isn't working package:cli
Milestone

Comments

@marwie
Copy link
Contributor

marwie commented Apr 24, 2024

Hey,

I just noticed that the gltf-transform temp directory has grown to 1.2 GB by now and I wonder if files could automatically be removed or cleaned up after a run since - if I remember correctly - they're not used anymore later (e.g. as a cache)

image

@marwie marwie added the feature New enhancement or request label Apr 24, 2024
@donmccurdy
Copy link
Owner

donmccurdy commented Apr 24, 2024

Yikes. Cleanup was intended to happen...

tmp.setGracefulCleanup();

... but it looks like I may not be using that feature of tmp correctly. I'll retag this as a bug.

@donmccurdy donmccurdy added bug Something isn't working package:cli and removed feature New enhancement or request labels Apr 24, 2024
@donmccurdy donmccurdy added this to the 🗄️ Backlog milestone Apr 24, 2024
@donmccurdy
Copy link
Owner

I also really want to avoid using CLI-in-CLI like this, per #675, but no progress there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package:cli
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants