mirror of
https://github.com/bitwarden/server
synced 2026-01-06 10:34:01 +00:00
events has its own connection string
This commit is contained in:
@@ -64,7 +64,7 @@ namespace Bit.Events
|
||||
|
||||
// Services
|
||||
services.AddScoped<IEventService, EventService>();
|
||||
if(!globalSettings.SelfHosted && CoreHelpers.SettingHasValue(globalSettings.Storage.ConnectionString))
|
||||
if(!globalSettings.SelfHosted && CoreHelpers.SettingHasValue(globalSettings.Events.ConnectionString))
|
||||
{
|
||||
services.AddSingleton<IEventWriteService, AzureQueueEventWriteService>();
|
||||
}
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
"storage": {
|
||||
"connectionString": "SECRET"
|
||||
},
|
||||
"events": {
|
||||
"connectionString": "SECRET"
|
||||
},
|
||||
"documentDb": {
|
||||
"uri": "SECRET",
|
||||
"key": "SECRET"
|
||||
|
||||
Reference in New Issue
Block a user