Limit the amount of FileSystemWatchers being spawned

pull/2142/head
Jamie 7 years ago
parent e9ef0136e4
commit 543e7fc369

@ -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();

Loading…
Cancel
Save