What are the rules for scheduled deletion of expired keys on a daily basis? Can I customize the rules?
To avoid prolonged blocks on the Redis main thread, not all keys are checked in each time event. Instead, a random collection of keys are checked each time. As a result, the memory used by expired keys cannot be released quickly.
Deleted expired keys cannot be queried.