-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: transform streams could possibly hang (#29)
This works around a bug where you cannot call done twice in a single event loop https://github.com/spion/promise-streams/blob/master/index.js#L70-L73 We've been able to observe this bug in production but not reproduce it in tests A more performance solution would be a queue of some sort because we don't always have to wait until next tick
- Loading branch information
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters