-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
无法把已有的缓存设置成不过期的BUG #1199
Comments
TTL右边有个x,就是持久化的作用 |
不过你倒是提了个醒,可能会有人和你一样,我可以兼容一下设置为-1时直接将key持久化 |
加个括号(持久化), 方便新手使用,毕竟软件使用习惯都是从新手过来的。 |
qishibo
added a commit
that referenced
this issue
May 23, 2024
兼容了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
因为Redis不过期的TTL就是-1, 但是我如果设置已有的数据TTL为-1时, 提示如果TTL<=0会删除数据, 这是个很明显的BUG
The text was updated successfully, but these errors were encountered: