Skip to content

Commit

Permalink
Integration test: retry with empty task response (#2433)
Browse files Browse the repository at this point in the history
  • Loading branch information
yux0 authored Jan 28, 2022
1 parent a7ab9a2 commit 46376c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host/taskpoller.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ retry:

if response == nil || len(response.TaskToken) == 0 {
p.Logger.Info("Empty Activity task: Polling again")
return nil
continue retry
}

if dropTask {
Expand Down

0 comments on commit 46376c0

Please sign in to comment.