Skip to content

Commit

Permalink
use tcp no delay in tetacle in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeButters committed May 21, 2024
1 parent 1e53854 commit 732a17c
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,15 @@ public abstract class TentacleBuilder<T> : ITentacleBuilder
bool useDefaultMachineConfigurationHomeDirectory = false;

static readonly Regex ListeningPortRegex = new (@"listen:\/\/.+:(\d+)\/");
readonly Dictionary<string, string> runTentacleEnvironmentVariables = new();
readonly Dictionary<string, string> runTentacleEnvironmentVariables = BuildDefaultTentacleEnvironmentVariables();

public static Dictionary<string, string> BuildDefaultTentacleEnvironmentVariables()
{
var env = new Dictionary<string, string>();
// Dog food our new setting.
env[EnvironmentVariables.TentacleUseTcpNoDelay] = "true";
return env;
}

TemporaryDirectory? homeDirectory;

Expand Down

0 comments on commit 732a17c

Please sign in to comment.