-
Notifications
You must be signed in to change notification settings - Fork 212
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
Events order when parsing file #349
Comments
I'm not sure what you're saying. |
I mean when reading multiple files. Before first files occur 'end' events, event "data" of secods file occurs. This order is not handled by busboy? |
I would say that would be due to node delaying |
Thanks for fast anwser. I will find some way to solve this issue. |
I think this timing issue not happens randomly. It's related files size. (If it's related only even loop, I think it should happens randomly) Only certain size of file group generate this problem. Is there any way to handle this issue in busboy? |
I have solved this issue by using pause and resume function in readalbe objects
|
When read file, busboy occur file.on('data') events before ahead file file.on('end) events. I don't think this is handled by highWaterMark or fileHwm.
I think that this is not happen always. I think this is related to each file size.
Is there any method that I can confirm order of file reading between end -> data?
The text was updated successfully, but these errors were encountered: