Skip to content

Commit a64374a

Browse files
committed
Reset attempts after successful verification
1 parent ccf2bfc commit a64374a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Passepartout/Tunnel/PacketTunnelProvider.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ private extension PacketTunnelProvider {
165165

166166
pp_log(.app, .info, "Will verify profile again in \(params.interval) seconds...")
167167
try? await Task.sleep(interval: params.interval)
168+
169+
// reset attempts for next verification
170+
attempts = params.attempts
168171
}
169172
}
170173
}

0 commit comments

Comments
 (0)