mscdex
mscdex
Are you reusing client instances or? Can you show how you're using the module?
That looks relatively ok. Are you re-using `imap` though (e.g. only doing `imap = new Imap({..})` once and calling `imap.connect()` each time), or are you doing `imap = new Imap({...})`...
Ok looking at the debug output again and with what you just told me, I think it makes sense now. I believe `imap.connect()` is being called too often and that...
The reason is that it was originally written in 2012, well before streams2 and when writing a stream implementation by hand was a pain :-)
> even if the streams for previous files haven't been read yet This is due to how node.js streams work. They buffer up to a `highWaterMark` amount of bytes (16KB...
If you're suggesting that busboy stops parsing immediately (and stores the current chunk somewhere temporarily) when it sees the end of a part until the file stream has been completely...
I think if you really want to minimize this sort of thing, the best you're going to be able to do is just have something that stops writing to the...
Just converting the exception to a warning is still going to be confusing when people only pass `--v8-disable-object-print`. I would propose instead defaulting both flags to `False` and then add...
This needs tests.
You shouldn't be comparing time like that since it's including a lot of extra machinery (startup and otherwise) that node has but d8 does not. Instead, use something like `performance.now()`...