Skip to content

v2.18.1

Compare
Choose a tag to compare
@SGrondin SGrondin released this 11 May 17:42
· 29 commits to master since this release
  • Reduced the memory usage of queued jobs by 40%.

This massive gain is thanks to a refactor of the engine internals. The behavior of this module should be unchanged. If Bottleneck 2.18.1 behaves differently from 2.18.0 in your application, please open an issue.

  • Expired jobs without a catch would not trigger the Node.js "Unhandled Promise Rejection" warning.

This has been fixed and Node now correctly alerts you, as this points to a bug in your application. async/await users: wrap your jobs into a try/catch at the place where the job is await'ed. Promise users: make sure your jobs have a .catch().