mcollina / fastq

Fast, in memory work queue
ISC License
943 stars 47 forks source link

fix: avoid Maximum Stack exceeded error #87

Open normanzb opened 1 month ago

normanzb commented 1 month ago

fixed https://github.com/mcollina/fastq/issues/86

previous implementation of drained() increase stack usage of queue.drain() each time it was called, resulting Maximum Stack Exceeded error in a long running process.

mcollina commented 1 month ago

Can you please fix support for legacy Node.js versions?