Skip to content

Commit

Permalink
Availability: Fixes region failover logic on control plane hot path w…
Browse files Browse the repository at this point in the history
…hen gateway hangs (#2279)

* timeout value

* tests

* Replacing 10 with 65

* comma
  • Loading branch information
ealsur committed Mar 18, 2021
1 parent 263bd18 commit 4a230ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ private HttpTimeoutPolicyControlPlaneRetriableHotPath()
{
(TimeSpan.FromSeconds(.5), TimeSpan.Zero),
(TimeSpan.FromSeconds(5), TimeSpan.FromSeconds(1)),
(TimeSpan.FromSeconds(10), TimeSpan.Zero),
(TimeSpan.FromSeconds(65), TimeSpan.Zero),
};

public override string TimeoutPolicyName => HttpTimeoutPolicyControlPlaneRetriableHotPath.Name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public async Task RetryTransientIssuesTestAsync()
{
TimeSpan.FromSeconds(.6),
TimeSpan.FromSeconds(5.1),
TimeSpan.FromSeconds(10.1)
TimeSpan.FromSeconds(65.1)
}},
};

Expand Down

0 comments on commit 4a230ab

Please sign in to comment.