From 1b4b93a55dd445c4509a9cf2c2956669ffe2975d Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Sun, 19 Nov 2017 18:41:00 +0100 Subject: [PATCH] Cleanup. --- src/Squidex/Config/Domain/EventStoreServices.cs | 7 ------- src/Squidex/appsettings.json | 6 +----- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/src/Squidex/Config/Domain/EventStoreServices.cs b/src/Squidex/Config/Domain/EventStoreServices.cs index d31f616fa..09fa67231 100644 --- a/src/Squidex/Config/Domain/EventStoreServices.cs +++ b/src/Squidex/Config/Domain/EventStoreServices.cs @@ -19,13 +19,6 @@ namespace Squidex.Config.Domain { public static void AddMyEventStoreServices(this IServiceCollection services, IConfiguration config) { - var consumeEvents = config.GetOptionalValue("eventStore:consume", false); - - if (!consumeEvents) - { - return; - } - config.ConfigureByOption("eventStore:type", new Options { ["MongoDb"] = () => diff --git a/src/Squidex/appsettings.json b/src/Squidex/appsettings.json index c84fc5fc9..156b34566 100644 --- a/src/Squidex/appsettings.json +++ b/src/Squidex/appsettings.json @@ -107,11 +107,7 @@ * Prefix for all streams and projections (for multiple installations). */ "prefix": "squidex" - }, - /* - * Consume the events on this server (Ensure that it is only enabled on a single node). - */ - "consume": true + } }, "eventPublishers": {