Skip to content
New issue

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

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

Already on GitHub? # to your account

Variable cache compression level #2187

Closed
nyanrus opened this issue May 27, 2024 · 2 comments · Fixed by #2199
Closed

Variable cache compression level #2187

nyanrus opened this issue May 27, 2024 · 2 comments · Fixed by #2199

Comments

@nyanrus
Copy link
Contributor

nyanrus commented May 27, 2024

Thank you for good project!

It will be good if I can change the compression level with Environment Variable.
Currently, the cache level seems constant 3, default level.
https://github.com/mozilla/sccache/blob/main/src%2Fcache%2Fcache.rs#L293-L293

I am using sccache in GitHub Actions to make cache for building a firefox fork.
And the GitHub Actions Cache is only 10GB.
So the higher compression level is preferred because of lacking cache storage size.

Thank you for reading this issue!

@sylvestre
Copy link
Collaborator

Don't hesitate to submit a PR for this :)
It should be easy to implement

@nyanrus
Copy link
Contributor Author

nyanrus commented May 27, 2024

Ok, I will try in this week.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants