Commit c9726cb
committed
Add shutdown_worker_rejected field to poll responses
Add a bool field to PollWorkflowTaskQueueResponse, PollActivityTaskQueueResponse,
and PollNexusTaskQueueResponse to indicate when an empty poll response was caused
by the server rejecting the poll because the worker has been shut down via the
ShutdownWorker API.
Made-with: Cursor1 parent 54414e1 commit c9726cb
3 files changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14580 | 14580 | | |
14581 | 14581 | | |
14582 | 14582 | | |
| 14583 | + | |
| 14584 | + | |
| 14585 | + | |
| 14586 | + | |
14583 | 14587 | | |
14584 | 14588 | | |
14585 | 14589 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11640 | 11640 | | |
11641 | 11641 | | |
11642 | 11642 | | |
| 11643 | + | |
| 11644 | + | |
| 11645 | + | |
| 11646 | + | |
| 11647 | + | |
| 11648 | + | |
11643 | 11649 | | |
11644 | 11650 | | |
11645 | 11651 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
334 | 338 | | |
335 | 339 | | |
336 | 340 | | |
| |||
516 | 520 | | |
517 | 521 | | |
518 | 522 | | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
519 | 527 | | |
520 | 528 | | |
521 | 529 | | |
| |||
1892 | 1900 | | |
1893 | 1901 | | |
1894 | 1902 | | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
| 1906 | + | |
1895 | 1907 | | |
1896 | 1908 | | |
1897 | 1909 | | |
| |||
0 commit comments