Skip to content

Commit 09be90a

Browse files
committed
Remove the reload on change to reduce listeners handlers (OS resources)
1 parent 4ab57b2 commit 09be90a

File tree

1 file changed

+1
-1
lines changed
  • src/Features/Blockcore.Features.NodeHost

1 file changed

+1
-1
lines changed

src/Features/Blockcore.Features.NodeHost/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public Startup(IWebHostEnvironment env, IFullNode fullNode)
3535
IConfigurationBuilder builder = new ConfigurationBuilder()
3636
.SetBasePath(env.ContentRootPath)
3737
.AddJsonFile("appsettings.json", optional: true, reloadOnChange: false)
38-
.AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: true)
38+
.AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: true, reloadOnChange: false)
3939
.AddEnvironmentVariables();
4040

4141
this.Configuration = builder.Build();

0 commit comments

Comments
 (0)