Commit c6b117e
committed
fix(tracing): address greptile review findings
- Re-check backpressure before dispatching the END task so a batch
carrying both event types can't push _inflight past the concurrency
cap (the semaphore was already the hard limit; this tightens the
in-flight task bound to match).
- Document the retry-ordering caveat directly in _reenqueue: a
re-enqueued START goes to the back of the queue and may miss a
concurrently-dispatched END's barrier snapshot when retries are
enabled (benign at the default max_retries=1).1 parent 512c843 commit c6b117e
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
239 | 243 | | |
240 | 244 | | |
241 | 245 | | |
| |||
342 | 346 | | |
343 | 347 | | |
344 | 348 | | |
345 | | - | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
346 | 357 | | |
347 | 358 | | |
348 | 359 | | |
| |||
0 commit comments