-
-
Notifications
You must be signed in to change notification settings - Fork 100
Add redis cache (ported to new codebase) #255
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
Conversation
* Contains updated CMake file with option to configure using hiredis official C redis library. * Contains update configuration parse and mapcache.h file to add support for redis cache. * Add lib/cache_redis.c file with preliminary redis support.
* In cmake/FindRedis.cmake remove duplicate lines.
* Add an example redis config the XML config sample file.
* Move expiration time before data segment in SETEX call.
* Use correct error-handling as specified in the strtoul manpages.
jbo-ads
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for submitting this new feature!
Here are my few comments on your code. I didn't check the actual logic of redis management. I hope your tests will detect any misbehaviours.
regarding tests performed, it works fine for me from mapcache_seed and from running as apache module |
I have refactored code from (#116) still did not test all features but it should work if old code was working.
Will test it a bit more from real system and report back in this PR