Skip to content

Commit

Permalink
Actor: do not attempt recovery on .outdatedSchema
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrej Mihajlov committed Oct 5, 2023
1 parent a2e29f5 commit ea10a3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/PacketTunnelCore/Actor/State+Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ extension BlockedStateReason {
*/
var shouldRestartAutomatically: Bool {
switch self {
case .deviceLocked, .outdatedSchema:
case .deviceLocked:
return true

case .noRelaysSatisfyingConstraints, .readSettings, .invalidAccount, .deviceRevoked, .tunnelAdapter, .unknown,
.deviceLoggedOut:
.deviceLoggedOut, .outdatedSchema:
return false
}
}
Expand Down

0 comments on commit ea10a3b

Please sign in to comment.