This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
serious bug: remaining times is stuck when use "storage" option with nestjs-redis #322
Comments
So, the problem is that redis is only returning the last or first 10 items. I can increase this by simply adding |
Latest 0.1.12 has the fix. |
Thanks. |
This is still not fixed, it's still happening for me. |
The problem is, my main DB has over 2 million records in it. So switching this over to db1 fixed the issue. |
There is a pretty big bug here, since it uses the main db0 on your redis instance if you have any other data other than this in that DB it won't scan past the SCANCOUNT. So it simply doesn't work if your Redis DB is full of tons of data. You may want to rewrite this so it works differently. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm submitting a...
Current behavior
Expected behavior
The throttler should works normally.
Minimal reproduction of the problem with instructions
Environment
The text was updated successfully, but these errors were encountered: