From 543e7fc36978cdd85d905bc8ed945100e821a901 Mon Sep 17 00:00:00 2001 From: Jamie Date: Mon, 2 Apr 2018 20:43:04 +0100 Subject: [PATCH] Limit the amount of FileSystemWatchers being spawned --- src/Ombi/Startup.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ombi/Startup.cs b/src/Ombi/Startup.cs index 3e76ccab0..dbc153e59 100644 --- a/src/Ombi/Startup.cs +++ b/src/Ombi/Startup.cs @@ -44,8 +44,8 @@ namespace Ombi Console.WriteLine(env.ContentRootPath); var builder = new ConfigurationBuilder() .SetBasePath(env.ContentRootPath) - .AddJsonFile("appsettings.json", false, true) - .AddJsonFile($"appsettings.{env.EnvironmentName}.json", true) + .AddJsonFile("appsettings.json", false, false) + .AddJsonFile($"appsettings.{env.EnvironmentName}.json", false) .AddEnvironmentVariables(); Configuration = builder.Build();