Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Parallel option limits? #8

Closed
devinus opened this issue Mar 25, 2015 · 5 comments
Closed

Parallel option limits? #8

devinus opened this issue Mar 25, 2015 · 5 comments

Comments

@devinus
Copy link

devinus commented Mar 25, 2015

I'm attempting to use { parallel: 5 }, but that makes my pipeline only consume 5 lines rather than consumer 5 at a time. Is there something I'm missing?

@devinus
Copy link
Author

devinus commented Mar 25, 2015

I believe this is because I'm returning an error in the transform, i.e. callback(new Error()). Should this stop the streaming?

@devinus
Copy link
Author

devinus commented Mar 25, 2015

Also, if I use callback(null, true); it will only read 20 out of 200 lines.

@wdavidw
Copy link
Member

wdavidw commented Mar 26, 2015

yes, throwing/passing an error will stop calling new callbacks if i remember well

@wdavidw
Copy link
Member

wdavidw commented Mar 26, 2015

... this might be wrong, some people have reported bugs that i couldnt reproduce. send me sample a sample reproducing the pb and i will look at it.

@wdavidw
Copy link
Member

wdavidw commented Oct 20, 2015

You were probably not consuming the stream. See the new "consume" option if you still have issue and open a new issue with a sample or test case reproducing your issue. closing for now.

@wdavidw wdavidw closed this as completed Oct 20, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants