Open gustaveWPM opened 2 months ago
Currently, the In-Memory cache NEVER cleans anything, except when we call a get And even in this case, it only invalidates what is tried to be got.
get
This is a smell which could be fixed easily with a damn stupid interval or asynchronous task which spies and cleans the cache.
Maybe this: https://www.npmjs.com/package/p-timeout
Currently, the In-Memory cache NEVER cleans anything, except when we call a
get
And even in this case, it only invalidates what is tried to be got.This is a smell which could be fixed easily with a damn stupid interval or asynchronous task which spies and cleans the cache.