| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Review requested:
|
Sorry, something went wrong.
Codecov Report❌ Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.
@@ Coverage Diff @@
## main #64417 +/- ##
==========================================
+ Coverage 90.21% 90.24% +0.03%
==========================================
Files 739 739
Lines 241650 241650
Branches 45542 45551 +9
==========================================
+ Hits 218013 218086 +73
+ Misses 15155 15100 -55
+ Partials 8482 8464 -18
... and 33 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
Discard upstream pull results when the shared buffer has reached its highWaterMark instead of allowing the buffer to grow beyond its limit. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com>
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes: #64416
Fixes share() with backpressure: 'drop-newest' so upstream pull
results are discarded when the shared buffer reaches highWaterMark.
Previously, #waitForBufferSpace() returned true for drop-newest,
causing the pulled batch to be appended to the full buffer. The buffer
could therefore grow beyond highWaterMark, and stalled consumers
eventually received every batch.
The async implementation now pulls and discards new results while the
buffer is full. The existing test has been updated to verify that the
buffer remains bounded and dropped batches are not delivered.