Open vytautas-karpavicius opened 3 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/internal_workflow_client.go | 5 | 7 | 71.43% | ||
<!-- | Total: | 5 | 7 | 71.43% | --> |
Totals | |
---|---|
Change from base Build 824b8973-99ad-4f10-9ea7-7b04277109c0: | 0.02% |
Covered Lines: | 12174 |
Relevant Lines: | 17017 |
What changed? Stop long poll on the client side when too little time is left on the context.
Why? To prevent unnecessary call to the server will would timeout anyway.
Relate Server PR: https://github.com/uber/cadence/pull/4425
How did you test it? Locally.
Potential risks