N
N
Ne7Le4Der2021-11-25 20:06:43
Redis
Ne7Le4Der, 2021-11-25 20:06:43

Why does redis remove key before ttl expires?

1) I write a key with ttl 86400 (24h) to redis (using software).
2) I go into redis-cli and call ttl key - everything is displayed correctly 86k+. I check after 15 minutes - everything is also correctly counted.
3) I go in an hour - the key is deleted. ttl obviously couldn't expire. What could be the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question