fix(orchestration): avoid retry when finished (#10913)
This commit is contained in:
committed by
GitHub
parent
a126f40bbe
commit
01acf9e700
@@ -244,6 +244,10 @@ class DistributedTransaction extends EventEmitter {
|
||||
step: TransactionStep,
|
||||
interval: number
|
||||
): Promise<void> {
|
||||
if (this.hasFinished()) {
|
||||
return
|
||||
}
|
||||
|
||||
await this.saveCheckpoint()
|
||||
await DistributedTransaction.keyValueStore.scheduleRetry(
|
||||
this,
|
||||
|
||||
Reference in New Issue
Block a user