mirror of
https://github.com/bitwarden/server
synced 2025-12-15 15:53:59 +00:00
[PM-6177] Persistent distributed cache using Cosmos (#3772)
* cosmos distributed cache * rename container to default
This commit is contained in:
@@ -90,9 +90,9 @@ public static class ServiceCollectionExtensions
|
||||
builder.AddSqlServer(globalSettings.SqlServer.ConnectionString);
|
||||
}
|
||||
|
||||
if (CoreHelpers.SettingHasValue(globalSettings.Redis.ConnectionString))
|
||||
if (CoreHelpers.SettingHasValue(globalSettings.DistributedCache?.Redis?.ConnectionString))
|
||||
{
|
||||
builder.AddRedis(globalSettings.Redis.ConnectionString);
|
||||
builder.AddRedis(globalSettings.DistributedCache.Redis.ConnectionString);
|
||||
}
|
||||
|
||||
if (CoreHelpers.SettingHasValue(globalSettings.Storage.ConnectionString))
|
||||
|
||||
Reference in New Issue
Block a user