1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

[PM-6153] Dedicated redis connection for rate limiter (#3763)

* rearrange how redis is registered

* separate redis connection string for rate limiter
This commit is contained in:
Kyle Spearrin
2024-02-07 17:38:18 -05:00
committed by GitHub
parent 039d3cbce7
commit 7747744ff9
3 changed files with 9 additions and 18 deletions

View File

@ -520,6 +520,7 @@ public class GlobalSettings : IGlobalSettings
public class DistributedIpRateLimitingSettings
{
public string RedisConnectionString { get; set; }
public bool Enabled { get; set; } = true;
/// <summary>