stefanprodan / AspNetCoreRateLimit

ASP.NET Core rate limiting middleware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redis Store use a different Database Index

jxlarrea opened this issue · comments

Hello,

I currently use Redis on my site for caching and use the default Database Index 0 (zero). When using AspNetCoreRateLimit with the Redis store, it also stores everything in the same database index. I would like to keep both separate and use a different database index for AspNetCoreRateLimit.

It doesn't seem to be possible as there is no documentation whatsoever regarding this. Any workaround?

To modify the defaultDatabase configuration in the Redis connection string,
please refer to https://stackexchange.github.io/StackExchange.Redis/Configuration