nameRequired
string
Logical queue name shared by all clients; hashed internally, so colons and Unicode are supported. Different names isolate job identities.
connectionRequired
RedisOptions
RedisOptions for standalone Redis (host, port, db, username, password, tls), not a live client. Connect and command timeouts default to 10000; keyPrefix is rejected, use prefix instead.
prefixOptional
string | undefined
Redis key prefix, default outpost. Keep it stable across restarts and identical on every client; use a dedicated namespace without external BullMQ consumers or cleanup.
stalledIntervalMsOptional
number | undefined
Positive interval in milliseconds between BullMQ stalled-job checks, default 1000. Reclaiming an expired lease may require two checks; this is separate from leaseMs and pollMs.
onErrorOptional
((error: Error) => void) | undefined
Synchronous observer for connection, stalled-check and BullMQ finalization errors; its exceptions are ignored. Queue operations still reject on their own failures.