OptionalautoAuto-batching for queue.add() calls in TCP mode. Buffers individual add() calls and sends them as a single PUSHB command. Gives 10-100x throughput improvement for sequential add() calls over TCP. Default: enabled for TCP mode, disabled for embedded mode.
OptionalconnectionConnection options - if omitted, connects to localhost:6789
OptionaldataSQLite database path for embedded mode (overrides DATA_PATH env var)
OptionaldefaultOptionalembeddedUse embedded mode (in-process SQLite) instead of TCP
OptionalprefixNamespace prefix prepended to the queue name on the server.
Lets multiple environments (e.g. dev:, prod:) share the same broker
without their jobs, workers, cron schedulers, stats, or DLQ overlapping.
The user-facing queue.name stays the logical name; only the server-side
key and the cron scheduler IDs are prefixed. A Worker that wants to consume
from the namespaced queue must use the same prefixKey.
Queue options