Skip to content

Commit

Permalink
removing duplicate environment variable setting
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtallcampbell committed Aug 2, 2024
1 parent d36229d commit 91304c0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,6 @@ public static Task DirectToApp(string appId, IMessage message) {
public Client() {
if (_grpcHost != null || _client != null) return;


Environment.SetEnvironmentVariable("DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE", "false");
Environment.SetEnvironmentVariable("DOTNET_USE_POLLING_FILE_WATCHER", "true");
Environment.SetEnvironmentVariable("DOTNET_SYSTEM_GLOBALIZATION_INVARIANT", "1");
var builder = WebApplication.CreateBuilder();
builder.Configuration.AddJsonFile(Path.Combine(Directory.GetCurrentDirectory(), "appsettings.json"), optional: true, reloadOnChange: false);

Expand Down

0 comments on commit 91304c0

Please sign in to comment.