Skip to content

Commit

Permalink
Remove some ENVs (dotnet#653)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros authored Nov 3, 2023
1 parent 105d817 commit bb97312
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Microsoft.Crank.Agent/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4446,8 +4446,6 @@ private static async Task<Process> StartProcess(string hostname, string benchmar
: benchmarksRepo
;

var scheme = (job.Scheme == Scheme.H2 || job.Scheme == Scheme.Https) ? "https" : "http";
var serverUrl = $"{scheme}://{hostname}:{job.Port}";
var executable = GetDotNetExecutable(dotnetHome);

var projectFileName = Path.Combine(benchmarksRepo, FormatPathSeparators(job.Project));
Expand Down Expand Up @@ -4556,11 +4554,6 @@ private static async Task<Process> StartProcess(string hostname, string benchmar

process.StartInfo.Environment.Add("DOTNET_EXE", GetDotNetExecutable(dotnetHome));

process.StartInfo.Environment.Add("COREHOST_SERVER_GC", "1");

// Force Kestrel server urls
process.StartInfo.Environment.Add("ASPNETCORE_URLS", serverUrl);

if (job.Collect && OperatingSystem == OperatingSystem.Linux)
{
// c.f. https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/linux-performance-tracing.md#collecting-a-trace
Expand Down

0 comments on commit bb97312

Please sign in to comment.