Skip to content

Commit ce31af3

Browse files
committed
Ha
1 parent 9850b6b commit ce31af3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

azure/durable_functions/models/TaskOrchestrationExecutor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def execute(self, context: DurableOrchestrationContext,
9595
# Combine the is_played field with the history-based signal:
9696
# we are replaying if is_played says so OR if we haven't reached new events yet.
9797
execution_started_event = history[1]
98-
history_is_replaying = self._new_events_start_index > 1
98+
history_is_replaying = self._new_events_start_index > 0
9999
self.current_task.is_played = execution_started_event.is_played or history_is_replaying
100100

101101
# If user code is a generator, then it uses `yield` statements (the DF API)

0 commit comments

Comments
 (0)