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

make compressor configurable #9914

Closed

Conversation

kkmuffme
Copy link
Contributor

Make compressor configurable for lz4, deflate (gzip/zlib) or off.
Fix #9905

@kkmuffme kkmuffme force-pushed the compressor-configurable-lz4-deflate-off branch from 12e49f9 to ad3fac9 Compare June 13, 2023 15:03
which was removed in vimeo#9889 - now we won't report for every error but if there are at least 10 errors (chosen arbitrarily)
@kkmuffme kkmuffme force-pushed the compressor-configurable-lz4-deflate-off branch from 49fc00e to 90b047c Compare June 13, 2023 15:20
@kkmuffme kkmuffme marked this pull request as ready for review June 13, 2023 15:20
@kkmuffme
Copy link
Contributor Author

@orklah please merge

config.xsd Show resolved Hide resolved
src/Psalm/Internal/Cache.php Show resolved Hide resolved
@kkmuffme
Copy link
Contributor Author

@orklah please merge.

If people really want to change the cache behavior from what we had previously to completely ignore failures, then that should be a separate PR, where the errors for cache writes are ignored too to keep it consistent.

@ro0NL
Copy link
Contributor

ro0NL commented Jun 17, 2023

to completely ignore failures

cache misses/errros can be a debug log? or write to stderr even

kkmuffme added a commit to kkmuffme/psalm that referenced this pull request Jun 18, 2023
which was removed in vimeo#9889 - now we won't report for every error but if there are at least 10 errors (chosen arbitrarily)

Cherry picked from vimeo#9914
@kkmuffme kkmuffme closed this Jun 18, 2023
@kkmuffme kkmuffme deleted the compressor-configurable-lz4-deflate-off branch June 18, 2023 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GZIP - disable/set level because performance impact is bad
4 participants