mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
Limit the amount of FileSystemWatchers being spawned
This commit is contained in:
parent
e9ef0136e4
commit
543e7fc369
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ namespace Ombi
|
||||||
Console.WriteLine(env.ContentRootPath);
|
Console.WriteLine(env.ContentRootPath);
|
||||||
var builder = new ConfigurationBuilder()
|
var builder = new ConfigurationBuilder()
|
||||||
.SetBasePath(env.ContentRootPath)
|
.SetBasePath(env.ContentRootPath)
|
||||||
.AddJsonFile("appsettings.json", false, true)
|
.AddJsonFile("appsettings.json", false, false)
|
||||||
.AddJsonFile($"appsettings.{env.EnvironmentName}.json", true)
|
.AddJsonFile($"appsettings.{env.EnvironmentName}.json", false)
|
||||||
.AddEnvironmentVariables();
|
.AddEnvironmentVariables();
|
||||||
Configuration = builder.Build();
|
Configuration = builder.Build();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue