1
0
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:
Kyle Spearrin
2017-12-27 22:39:14 -05:00
parent 9a4e0e8b08
commit 8a318f35b7
10 changed files with 20 additions and 4 deletions

View File

@@ -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>();
}

View File

@@ -17,6 +17,9 @@
"storage": {
"connectionString": "SECRET"
},
"events": {
"connectionString": "SECRET"
},
"documentDb": {
"uri": "SECRET",
"key": "SECRET"