cb372/scalacache

CaffeineCache time to live not working

benkio opened this issue · 3 comments

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

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.

Tested and works 💪