Bottleneck v2.18.1 Release Notes

Release Date: 2019-05-11 // almost 5 years ago
    • ⬇️ 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().