Skip to content

Commit 759f50a

Browse files
authored
Reset stickyBacklog when pollForDecisionTask call failed (#660)
1 parent b9e6b1b commit 759f50a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/internal_task_pollers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,7 @@ func (wtp *workflowTaskPoller) poll() (*workflowTask, error) {
672672
} else {
673673
wtp.metricsScope.Counter(metrics.DecisionPollFailedCounter).Inc(1)
674674
}
675+
wtp.updateBacklog(request.TaskList.GetKind(), 0)
675676
return nil, err
676677
}
677678

0 commit comments

Comments
 (0)