revert problematic retry functionalliy

This commit is contained in:
Garth Vander Houwen 2025-12-16 06:33:08 -08:00
parent 14efa4cbba
commit fe1d1d6c3f

View file

@ -267,7 +267,7 @@ actor SequentialSteps {
var isRunning: Bool = false
var externalError: Error?
init(maxRetries: Int = 1, retryDelay: Duration = .seconds(5), @StepsBuilder _ builder: () -> [Step]) {
init(maxRetries: Int = 3, retryDelay: Duration = .seconds(3), @StepsBuilder _ builder: () -> [Step]) {
self.maxRetries = maxRetries
self.retryDelay = retryDelay
self.steps = builder()
@ -353,7 +353,7 @@ actor SequentialSteps {
}
isRunning = false
return
//throw AccessoryError.tooManyRetries
throw AccessoryError.tooManyRetries
}
func cancel() {