Skip to content
Get started
Get started
bunqueue v2.4.2
View Markdown
blog · release

bunqueue v2.4.2

CPU-Intensive Workers guide, CPU stress test script.

bun add bunqueue@2.4.2
npm install bunqueue@2.4.2
bun add bunqueue@latest

New dedicated docs page for handling CPU-heavy jobs over TCP

  • Explains the ping health check failure chain that causes job loss after ~90s of CPU load
  • Connection tuning: pingInterval: 0, commandTimeout: 60000
  • Non-blocking CPU patterns with await Bun.sleep(0) yield
  • Default timeouts reference table
  • SandboxedWorker as alternative for truly CPU-bound work

scripts/stress-cpu-intensive.ts (500 jobs, 5 CPU task types, concurrency 3)


← bunqueue v2.4.1 · Release on GitHub · Commits since v2.4.1 · Full changelog · All posts