CaffeineCache time to live not working
benkio opened this issue · 3 comments
benkio commented
Hi there,
I'm experiencing a strange behaviour where, if you specify the time to live, the cache seems to not work and just return None
over the get
.
I recorded a video and reproduced it in a small dummy project with the same exact code.
Could you please tell we where I'm doing wrong? 🙇
test.zip
scalacache.mp4
kubukoz commented
This is caused by #522.
I tried your code with
resolvers += Resolver.sonatypeRepo("snapshots")
and updating to 1.0.0-M4+50-63a28375-SNAPSHOT
and the test passed. I'll release it now as 1.0.0-M5, might take an hour or so to publish.
kubukoz commented
It's on: https://repo1.maven.org/maven2/com/github/cb372/scalacache-core_2.13/1.0.0-M5/
Let me know if that solves it for you.
benkio commented
Tested and works 💪