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": {