Redis sets the expiration time for 7 days, but you can't find it even if you don't find it for a single day.

problem description

I want to use redis to do session. Now I set the expiration time to 7 days, but now I can"t find redis data for less than one day. Since redis is built by myself, I would like to ask you what might be the problem with redis.

the environmental background of the problems and what methods you have tried

1. The setting time is sure to be fine. The expiration time of all the fetches stored in redis is the same as that of
2.redis. The default configuration is

.
Nov.04,2021

see if the unit is wrong.
redis's expiration of the stored value is actually handled for the key (key) of that value, that is, the setting of the time is also the valid time for setting the key. The Expires dictionary holds the expiration time of all keys, and Expires is also known as the expiration field.
four processing strategies
EXPIRE sets the survival time of key to ttl seconds
PEXPIRE sets the generation time of key to ttl milliseconds
EXPIREAT sets the expiration time of key to the timestamp of seconds represented by timestamp
PEXPIREAT sets the expiration time of key to the timestamp of milliseconds represented by timestamp


system vulnerability

clipboard.png

redis crackit

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e92a2e-13f0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e92a2e-13f0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?