Skip to content

Compression conditions adjustments #303

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

Merged
merged 2 commits into from
Jan 25, 2017

Conversation

sodabrew
Copy link
Contributor

This PR includes the tests from #256 with code changes to handle compression failure and uncompressable data without bombing out. My assumption is that the user application would prefer that its data end up in memcached compressed if possible but just as well uncompressed if it ends up that way, which is better than not storing the data.

dictcp and others added 2 commits January 25, 2017 00:51
test compressed SET/GET under various settings of
- compression_factor
- compression_threshold
- data length
@sodabrew sodabrew force-pushed the compression_conditions branch from 29aebd3 to c85f34c Compare January 25, 2017 08:53
@sodabrew sodabrew merged commit 6ee6166 into php-memcached-dev:master Jan 25, 2017
@sodabrew sodabrew added this to the 3.0.0 milestone Jan 25, 2017
@sodabrew sodabrew deleted the compression_conditions branch January 25, 2017 08:56
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.

2 participants