java - How to set expiration time for Redis hashes
Use Redis to store some authentication information of active users to facilitate quick login. The user's information is of the hashes type, and the user's uid is used as the key. However, if the user has not logged in for a long time, it should be removed from Redis. The method I found I used the ex...
黄舟 2017-06-19 09:07:18 0 4 1131