Windows 0.3.4 connection resilience and fixed-grid source delta; no private history or other platform changes
This commit is contained in:
@@ -4,8 +4,9 @@ internal static class ConnectionRecoveryPolicy
|
||||
{
|
||||
// A control-plane timeout is not evidence that the existing data-plane
|
||||
// process needs to be destroyed. Revoked authorization still stops service.
|
||||
internal static bool KeepExisting(bool reconnect, bool replacementStarted, bool coreRunning, Exception failure)
|
||||
=> reconnect && !replacementStarted && coreRunning
|
||||
internal static bool KeepExisting(bool reconnect, bool replacementStarted, bool coreRunning, Exception failure,
|
||||
bool authorizationValid = true)
|
||||
=> reconnect && !replacementStarted && coreRunning && authorizationValid
|
||||
&& failure is not ApiException { StatusCode: 401 or 403 };
|
||||
|
||||
internal static bool SelfTest()
|
||||
|
||||
Reference in New Issue
Block a user