Skip to content

Commit 96067af

Browse files
committed
Add missing continue as new
1 parent 77ea0e0 commit 96067af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

airbyte-workers/src/main/java/io/airbyte/workers/temporal/scheduling/ConnectionManagerWorkflowImpl.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,13 @@ private CancellationScope generateSyncWorkflowRunnable(ConnectionUpdaterInput co
177177
workflowInternalState.getJobId(),
178178
workflowInternalState.getAttemptId()));
179179
reportFailure(connectionUpdaterInput, standardSyncOutput);
180+
prepareForNextRunAndContinueAsNew(connectionUpdaterInput);
180181
} else {
181182
workflowInternalState.getFailures().add(
182183
FailureHelper.unknownOriginFailure(childWorkflowFailure.getCause(), workflowInternalState.getJobId(),
183184
workflowInternalState.getAttemptId()));
184185
reportFailure(connectionUpdaterInput, standardSyncOutput);
186+
prepareForNextRunAndContinueAsNew(connectionUpdaterInput);
185187
}
186188
}
187189
});

0 commit comments

Comments
 (0)