Skip to content

Commit 99944c5

Browse files
committed
activity empty poll populate autoconfighint
1 parent 6b9605b commit 99944c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/internal_task_pollers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ func (atp *activityTaskPoller) poll(ctx context.Context) (*s.PollForActivityTask
10961096
}
10971097
if response == nil || len(response.TaskToken) == 0 {
10981098
atp.metricsScope.Counter(metrics.ActivityPollNoTaskCounter).Inc(1)
1099-
return nil, startTime, nil
1099+
return response, startTime, nil
11001100
}
11011101

11021102
return response, startTime, err

0 commit comments

Comments
 (0)