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 cache object picklable. #19

Merged
merged 1 commit into from
Jul 22, 2011

Conversation

jaylett
Copy link
Contributor

@jaylett jaylett commented Jul 22, 2011

This shouldn't cause any problems for other people, but allows CacheClass & RedisCache objects to be pickled.

@sebleier
Copy link
Owner

Just curious, what's the use case for this?

@jaylett
Copy link
Contributor Author

jaylett commented Jul 22, 2011

I have a layer over Django's cache which pushes regeneration of cache entries into an async process (via celery). Either I pickle the cache object or I have to pickle all of the configuration and pickle that at a higher level (which I can do if you'd rather not accept this, but others may run into a similar issue).

sebleier added a commit that referenced this pull request Jul 22, 2011
@sebleier sebleier merged commit ff58e47 into sebleier:master Jul 22, 2011
@sebleier
Copy link
Owner

v0.8.1 pushed to pypi and added you to the authors

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