Commit f525bac
committed
fix(run-engine): stop the batch timeout error claiming a received-item count
The message reported successfulRunCount plus failedRunCount as "items
received", but those track runs created and are only written when a batch
completes. An aborted batch never completes, so the field is unset and the
message read "0 of N items were received" no matter how many items arrived.
It now states only the expected count, which is set at creation and always
accurate.1 parent 2bf591f commit f525bac
1 file changed
Lines changed: 3 additions & 5 deletions
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | 136 | | |
138 | 137 | | |
139 | 138 | | |
140 | | - | |
141 | | - | |
142 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
143 | 142 | | |
144 | 143 | | |
145 | 144 | | |
| |||
152 | 151 | | |
153 | 152 | | |
154 | 153 | | |
155 | | - | |
156 | 154 | | |
157 | 155 | | |
158 | 156 | | |
| |||
0 commit comments