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

Enable zlib compression with Memcached check and set #285

Open
YPCrumble opened this issue Jan 4, 2023 · 1 comment
Open

Enable zlib compression with Memcached check and set #285

YPCrumble opened this issue Jan 4, 2023 · 1 comment

Comments

@YPCrumble
Copy link
Contributor

YPCrumble commented Jan 4, 2023

I was trying to enable zlib compression with memcached check-and-set and it appears that this is functionality that hasn't yet been built out:

pylibmc/src/_pylibmcmodule.c

Lines 1041 to 1043 in 78138d3

/* TODO: because it's RunSetCommand that does the zlib
compression, cas can't currently use compressed values. */
success = _PylibMC_SerializeValue(self, key, NULL, value, time, &mset);

I'm not an expert in C but would be happy to try to create a PR if it would be welcomed and useful!

@lericson
Copy link
Owner

lericson commented Jan 4, 2023 via email

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

No branches or pull requests

2 participants