Skip to content

Conversation

vdiez
Copy link

@vdiez vdiez commented Mar 2, 2021

continue reading until stream.push returns false, as specified by streams API

I was running into race conditions where streams were being closed twice on end (instead of just once). Implementing the backpressure from Node solved the issue.

@julien-f julien-f changed the title implement stream backpressure fix(createReadStream): implement backpressure Apr 11, 2021
@vdiez
Copy link
Author

vdiez commented Apr 22, 2021

Hi @julien-f . Any option to have this merged? Thanks!

@ekoeryanto
Copy link

same with createWriteStream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants