-
Notifications
You must be signed in to change notification settings - Fork 14
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
设置key时,ttl会被覆盖修改成-1 #14
Comments
Redis就是这样设计的, 可以参考: Redis doc |
@MattMin 我尝试性改了一下可以保留ttl 就不提pr了您看下要是觉得有用可以改一下 |
你这时间已经不是原来的时间了,与其加个不准的时间 还不如让用户自己设置时间。参考其他客户端也是-1 |
好的 那我先close了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用jedis设置key时,如果有ttl可以使用之前的ttl值,防止过期时间被覆盖掉
The text was updated successfully, but these errors were encountered: