Not seeing keys stored in Redis
MarounMaroun opened this issue · comments
Maroun Maroun commented
My endpoint is being blocked if the rate exceeds the defined rules, however, when I inspect Redis keys, I don't see my IP anywhere.
My configurations:
services.AddSingleton<IRateLimitConfiguration, RateLimitConfiguration>();
services.Configure<IpRateLimitOptions>(Configuration.GetSection("IpRateLimiting"));
services.AddDistributedRateLimiting<AsyncKeyLockProcessingStrategy>();
services.AddRedisRateLimiting();
services.AddSingleton<IClientPolicyStore, DistributedCacheClientPolicyStore>();
services.AddSingleton<IRateLimitCounterStore, DistributedCacheRateLimitCounterStore>();