Is there any option to set the maxSize(in bytes) of the cache or the size limit for the items going to be stored in the in memory cache in nestjs .
My current implementation looks like :
//app module
CacheModule.register({
max: 100,
isGlobal: true
})
// usage
this.client.set(userId, inputId, { ttl: 600})
I checked the function signature and there were no options available .