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