Skip to content

Commit 1e932d3

Browse files
committed
ci: remove file watching on startup classes
System.IO.IOException : The configured user limit (128) on the number of inotify instances has been reached.
1 parent 1280195 commit 1e932d3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Examples/JsonApiDotNetCoreExample/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public Startup(IHostingEnvironment env)
1818
{
1919
var builder = new ConfigurationBuilder()
2020
.SetBasePath(env.ContentRootPath)
21-
.AddJsonFile("appsettings.json", optional: true, reloadOnChange: true)
21+
.AddJsonFile("appsettings.json", optional: true, reloadOnChange: false)
2222
.AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: true)
2323
.AddEnvironmentVariables();
2424

src/Examples/NoEntityFrameworkExample/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public Startup(IHostingEnvironment env)
1818
{
1919
var builder = new ConfigurationBuilder()
2020
.SetBasePath(env.ContentRootPath)
21-
.AddJsonFile("appsettings.json", optional: false, reloadOnChange: true)
21+
.AddJsonFile("appsettings.json", optional: false, reloadOnChange: false)
2222
.AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: true)
2323
.AddEnvironmentVariables();
2424
Configuration = builder.Build();

src/Examples/ReportsExample/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public Startup(IHostingEnvironment env)
2121
{
2222
var builder = new ConfigurationBuilder()
2323
.SetBasePath(env.ContentRootPath)
24-
.AddJsonFile("appsettings.json", optional: true, reloadOnChange: true)
24+
.AddJsonFile("appsettings.json", optional: true, reloadOnChange: false)
2525
.AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: true)
2626
.AddEnvironmentVariables();
2727

0 commit comments

Comments
 (0)