Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incremental: add highWaterMark option to apply backpressure with async streams #4090

Closed
wants to merge 1 commit into from

Conversation

yaacovCR
Copy link
Contributor

This protects against a potential OOM error if we end up pulling data from a stream faster than it is consumed.

Default is set at 100; after pulling 100 entries, we will pause until some have been flushed.

…g async streams

This protects against a potential OOM error if we end up pulling data from a stream faster than it is consumed.

Default is set at 100; after pulling 100 entries, we will pause until some have been flushed.
@yaacovCR yaacovCR requested review from robrichard and a team May 13, 2024 20:29
Copy link

netlify bot commented May 13, 2024

Deploy Preview for compassionate-pike-271cb3 ready!

Name Link
🔨 Latest commit 20904e5
🔍 Latest deploy log https://app.netlify.com/sites/compassionate-pike-271cb3/deploys/664278421ad976000889713e
😎 Deploy Preview https://deploy-preview-4090--compassionate-pike-271cb3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

Hi @yaacovCR, I'm @github-actions bot happy to help you with this PR 👋

Supported commands

Please post this commands in separate comments and only one per comment:

  • @github-actions run-benchmark - Run benchmark comparing base and merge commits for this PR
  • @github-actions publish-pr-on-npm - Build package from this PR and publish it on NPM

@yaacovCR yaacovCR added the PR: bug fix 🐞 requires increase of "patch" version number label May 13, 2024
@yaacovCR yaacovCR removed request for a team and robrichard May 15, 2024 15:59
@yaacovCR yaacovCR marked this pull request as draft May 15, 2024 16:00
@yaacovCR
Copy link
Contributor Author

Converted to draft; to make this work, possibly we may want to overall rework the logic for stream handling.

@yaacovCR
Copy link
Contributor Author

Closing this in favor of #4097 … we can revisit later if we need something more complicated.

@yaacovCR yaacovCR closed this May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: bug fix 🐞 requires increase of "patch" version number
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant