Open nahlaFathy opened 2 months ago
I'm pretty sure that the version of this library is meant to work on throttler v6 and up, and that you should use the deprecated library, due to breaking changes of v6
I'm pretty sure that the version of this library is meant to work on throttler v6 and up, and that you should use the deprecated library, due to breaking changes of v6
I know it's meant to be used with v6 so i'm trying to configure it now but it's not working no keys added to redis but when i replace it with the deprecated library old version it works so i'm trying to figure out what i'm missing here
i'm using throttler "@nestjs/throttler": "^6.2.1" and ioredis "ioredis": "^5.3.2"
Please provide a minimum reproduction repository (Git repository/StackBlitz/CodeSandbox project).
i'm using nest js throttler @nestjs/throttler ^6.2.1 and when i'm trying to use @nest-lab/throttler-storage-redis instead of deprecated library nestjs-throttler-storage-redis is not working here is a code sample :
everything is working except this.storageService.increment it's not adding keys to redis so totalHits will always be 1 but when i'm using nestjs-throttler-storage-redis but old version it works correctly with adding keys to redis and increment correctly