From 61602d3a78e87f57083c4bfb16f019457872d170 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sat, 11 Feb 2017 13:08:35 +0100 Subject: [PATCH] Config fixes --- src/Squidex/Config/Domain/ClusterModule.cs | 4 ++-- src/Squidex/appsettings.json | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Squidex/Config/Domain/ClusterModule.cs b/src/Squidex/Config/Domain/ClusterModule.cs index 55f636e50..7bab3818f 100644 --- a/src/Squidex/Config/Domain/ClusterModule.cs +++ b/src/Squidex/Config/Domain/ClusterModule.cs @@ -30,9 +30,9 @@ namespace Squidex.Config.Domain protected override void Load(ContainerBuilder builder) { - var canCatch = Configuration.GetValue("squidex:catch"); + var handleEvents = Configuration.GetValue("squidex:handleEvents"); - if (canCatch) + if (handleEvents) { builder.RegisterType() .AsSelf() diff --git a/src/Squidex/appsettings.json b/src/Squidex/appsettings.json index 9a3fcc144..2d7c1d6bb 100644 --- a/src/Squidex/appsettings.json +++ b/src/Squidex/appsettings.json @@ -3,12 +3,11 @@ "urls": { "baseUrl": "http://localhost:5000" }, - "eventBus": { - "type": "rabbitMq", - "rabbitMq": { - "connectionString": "amqp://guest:guest@localhost" - }, - "catch": true + "clusterer": { + "type": "redis", + "redis": { + "connectionString": "redis://localhost:6379" + } }, "eventStore": { "type": "mongoDb", @@ -27,6 +26,7 @@ "identity": { "googleClient": "1006817248705-t3lb3ge808m9am4t7upqth79hulk456l.apps.googleusercontent.com", "googleSecret": "QsEi-fHqkGw2_PjJmtNHf2wg" - } + }, + "handleEvents": true } } \ No newline at end of file