How Inngest turned Node.js worker threads into a production‑ready heartbeat manager
Inngest moved its Connect SDK’s WebSocket heartbeat logic into a dedicated Node.js worker thread, preventing lost heartbeats when user code blocks the main thread. The post details the production‑grade decisions—boundary design, message protocol, crash‑loop caps, and graceful shutdown—that turn a demo feature into reliable infrastructure.