al8n / stretto

Stretto is a Rust implementation for Dgraph's ristretto (https://github.com/dgraph-io/ristretto). A high performance memory-bound Rust cache.
Apache License 2.0
413 stars 28 forks source link

Entry inserted without TTL (cache.try_insert) removed after 30 minutes. #19

Open dmrolfs opened 2 years ago

dmrolfs commented 2 years ago

I am using the AsyncCache and have entries that I do not want to expire and use the try_insert() method. I am seeing these properties being removed from the cache after 30 minutes.

goldwind-ting commented 2 years ago

I am using the AsyncCache and have entries that I do not want to expire and use the try_insert() method. I am seeing these properties being removed from the cache after 30 minutes.

Could you share the code?