logdna/tail-file-node

maxEventListeners reached from reading file after backpressure

darinspivey opened this issue ยท 2 comments

When backpressure is reached, the async iterator created for for await...of adds more event listeners onto the stream. The code should setMaxListeners(100) to allow some breathing room for such cases (and avoid pesky node warnings)

Fixing this issue will also prompt an upgrade of the supported node versions, thus it will be a major

๐ŸŽ‰ This issue has been resolved in version 4.0.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€