Skip to content

Commit

Permalink
Revert "Enable Halibut TCP Keep Alives by default (#706)"
Browse files Browse the repository at this point in the history
This reverts commit ac4a784.
  • Loading branch information
nathanwoctopusdeploy authored Dec 1, 2023
1 parent ac4a784 commit 6f26804
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 97 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,7 @@ protected override void Load(ContainerBuilder builder)
var configuration = c.Resolve<ITentacleConfiguration>();
var services = c.Resolve<IServiceFactory>();

if (!bool.TryParse(Environment.GetEnvironmentVariable(EnvironmentVariables.TentacleTcpKeepAliveEnabled), out var tcpKeepAliveEnabled))
{
// Default to enabled if the environment variable is not provided
tcpKeepAliveEnabled = true;
}

bool.TryParse(Environment.GetEnvironmentVariable(EnvironmentVariables.TentacleTcpKeepAliveEnabled), out var tcpKeepAliveEnabled);
bool.TryParse(Environment.GetEnvironmentVariable(EnvironmentVariables.TentacleUseRecommendedTimeoutsAndLimits), out var useRecommendedTimeoutsAndLimits);

var halibutTimeoutsAndLimits = useRecommendedTimeoutsAndLimits
Expand Down

0 comments on commit 6f26804

Please sign in to comment.