Skip to content

Commit

Permalink
Merge pull request #767 from OctopusDeploy/sast/consolidate-rpc-retry…
Browse files Browse the repository at this point in the history
…-health-check-settings

Consolidate the 2 Health Check RPC Retry settings
  • Loading branch information
nathanwoctopusdeploy authored Sep 26, 2023
2 parents 602d632 + 4268310 commit b3bd3b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3780,9 +3780,8 @@ Octopus.Client.Model
{
.ctor()
Boolean Enabled { get; set; }
TimeSpan HealthyMachineHealthCheckRetryDuration { get; set; }
TimeSpan HealthCheckRetryDuration { get; set; }
TimeSpan RetryDuration { get; set; }
TimeSpan UnHealthyMachineHealthCheckRetryDuration { get; set; }
}
class MachineScriptPolicy
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3797,9 +3797,8 @@ Octopus.Client.Model
{
.ctor()
Boolean Enabled { get; set; }
TimeSpan HealthyMachineHealthCheckRetryDuration { get; set; }
TimeSpan HealthCheckRetryDuration { get; set; }
TimeSpan RetryDuration { get; set; }
TimeSpan UnHealthyMachineHealthCheckRetryDuration { get; set; }
}
class MachineScriptPolicy
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ public class MachineRpcCallRetryPolicy
{
public bool Enabled { get; set; } = true;
public TimeSpan RetryDuration { get; set; } = TimeSpan.FromMinutes(2.5);
public TimeSpan HealthyMachineHealthCheckRetryDuration { get; set; } = TimeSpan.FromMinutes(2.5);
public TimeSpan UnHealthyMachineHealthCheckRetryDuration { get; set; } = TimeSpan.FromMinutes(2.5);
public TimeSpan HealthCheckRetryDuration { get; set; } = TimeSpan.FromMinutes(2.5);
}

0 comments on commit b3bd3b5

Please sign in to comment.