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

Refactor Cache::Entry compression handling #42049

Merged
merged 1 commit into from
Apr 22, 2021

Conversation

casperisfine
Copy link
Contributor

@casperisfine casperisfine commented Apr 22, 2021

I extracted this out of #42025 to make its review easier.

Rather than immediately compressing the cache value in the constructor, this operation is delayed until we need to serialize the entry. This help us making compression a coder responsibility while retaining serialized format compatibility.

Rather than immediately compressing the cache value
in the constructor, this operation is delayed until
we need to serialize the entry.
@byroot
Copy link
Member

byroot commented Apr 22, 2021

Bunch of CI timeouts, but the important bits (activesupport) passed.

@byroot byroot merged commit d42a34a into rails:main Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants