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
TTL not used #128
Comments
Thanks for reporting. I'll check it out and try to reproduce it. Any other scenario info you might have is appreciated. |
Can you try with |
The bug is still there. |
With TTLs is pretty hard to debug, I don't have any tests where I simulate the application restarting so that might be the key |
See #129 |
Should be resolved in https://s01.oss.sonatype.org/content/repositories/snapshots/com/redis/om/redis-om-spring/0.6.3-SNAPSHOT/ Could please try it? |
After several tests I think the bug is fixed with this version ! Thank you ! However, I think there is another bug with the TTL but I may be wrong, when a query looks for an element of a key, in my case a hash compute with some elements, that has been erased by the time to live, there is a null pointer exception thrown: java.lang.NullPointerException Here is the class: @document(value = "XXXXXX", timeToLive = 10 * 60)
} |
@Paure42 can you open another issue for that one? Thanks! |
Hi,
I'm the using the TTL on a Redis Document like that
@Document(value = "XXXXX", timeToLive = 60 * 60 * 24 * 7)
, it works for some keys but after a while the new keys have a TTL equals to -1.The text was updated successfully, but these errors were encountered: