Browse Source

Cleanup.

pull/169/head
Sebastian Stehle 9 years ago
parent
commit
1b4b93a55d
  1. 7
      src/Squidex/Config/Domain/EventStoreServices.cs
  2. 6
      src/Squidex/appsettings.json

7
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"] = () =>

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

Loading…
Cancel
Save