Connecting Redis
unqueue connects to your Redis instances — separate from the app’s own REDIS_URL used for internal services. Add connections from Settings inside a workspace environment.
Recommended setup
Section titled “Recommended setup”- Create a dedicated ACL user per environment — do not share the
defaultsuperuser. - Use TLS (
rediss://) for managed providers (Redis Cloud, Upstash, ElastiCache, Azure Cache). - If your provider requires ACL auth, set username and password in the connection form.
- Match the BullMQ key prefix to what your workers use (default:
bull).
ACL permissions
Section titled “ACL permissions”Monitoring only (view queues, jobs, metrics, and bookmarks):
@readon BullMQ keys, or at minimum:SCAN,GET,HGET,HGETALL,LRANGE,ZRANGE,ZCARD,LLEN,TYPE,PING,INFO,SUBSCRIBE/PSUBSCRIBE(for events)
Admin actions (retry/remove jobs, pause/drain/clean/obliterate queues):
- The read permissions above, plus write commands BullMQ uses:
DEL,HDEL,HSET,LPUSH,RPUSH,ZADD,ZREM,LREM,EVAL/EVALSHA,MULTI,EXEC, and similar.
Example Redis 7 ACL (adjust key patterns to your prefix):
Connection URL format
Section titled “Connection URL format”Paste a URL in the connection form to pre-fill host, port, username, password, DB index, and TLS.
What unqueue reads from Redis
Section titled “What unqueue reads from Redis”unqueue does not poll your keyspace on a schedule. It:
- Discovers queues from BullMQ’s key schema using your configured prefix
- Subscribes to
QueueEventsfor live job and queue updates - Reads job and queue data on demand when you open a view in the dashboard
This keeps overhead minimal — typically one pub/sub connection per registered Redis instance plus read commands when you browse jobs.