Skip to content

Commit

Permalink
Fix accidentally removed call to newAttempt for LAs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sushisource committed Mar 25, 2024
1 parent b126f7e commit 0c2a4a1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ public void handle(LocalActivityAttemptTask attemptTask) throws Exception {
scheduleToStartFuture != null && !scheduleToStartFuture.cancel(false);

LocalActivityExecutionContext executionContext = attemptTask.getExecutionContext();
executionContext.newAttempt();
PollActivityTaskQueueResponseOrBuilder activityTask = attemptTask.getAttemptTask();

// if an activity was already completed by any mean like scheduleToClose or scheduleToStart,
Expand Down

0 comments on commit 0c2a4a1

Please sign in to comment.