mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
revert problematic retry functionalliy
This commit is contained in:
parent
14efa4cbba
commit
fe1d1d6c3f
1 changed files with 2 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue