rememberable
rememberable copied to clipboard
Redis memory issue
Hello,
We have a problem where Redis key created by this package is using alot of memory. It's named like this : br-local:5f58eab33aae5665049267:standard_ref and contains values like this:
Even when using flushCache() method, these records are not cleared... Is this normal behavior?
I'm not sure - there seems to be a long prefix to your key that I've not seen. Are you doing something funky that creates that prefix, as I would have expected the key to start with rememberable
?
@dwightwatson That's just the $rememberCachePrefix, I added that to see from which model these values come from.
Is it possible that the rememberCachePrefix
isn't being used when flushing the cache, hence the build-up?
I've not seen this myself - so see if you're able to determine the cause of this, or provide a PR that fixes it.