-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Feature/csc ttl support #4120
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
base: master
Are you sure you want to change the base?
Feature/csc ttl support #4120
Conversation
…before clear the cache
If somebody help me review it? Thankyou very much! |
Related to #4117 |
There is an ongoing discussion regarding adding TTL to CSC in Jedis tracked with #4117 |
Of course! I can explain in detail what my PR does. In my PR, I extend the DefaultCache class under the csc package. In the extended class, I use a Map called expirationTimes to maintain an expiration time for each cache key. Additionally, I start a thread to periodically clean up keys that have already expired. |
My question was about the problem we want to solve before going into concrete implementations. |
Hello, I add a ttl support for the jedis csc (extend the DefaultCache) to solve a issue of the jedis.You can read my commit record for the details