Skip to content

Commit 9486c19

Browse files
authored
Enable auto-heartbeat for replayWorkflowActivity (#1088)
1 parent c903538 commit 9486c19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/workflow_shadower_worker.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ func newShadowWorker(
5656
Name: shadower.ScanWorkflowActivityName,
5757
})
5858
registry.RegisterActivityWithOptions(replayWorkflowActivity, RegisterActivityOptions{
59-
Name: shadower.ReplayWorkflowActivityName,
59+
Name: shadower.ReplayWorkflowActivityName,
60+
EnableAutoHeartbeat: true,
6061
})
6162

6263
replayer := NewWorkflowReplayerWithOptions(ReplayOptions{

0 commit comments

Comments
 (0)