Skip to main content

Queue

The Queue tab sets up the message broker used for background job processing and task queues. Go to SettingsQueue to access these settings.

Queue management

SettingDescription
Enable QueueWhen turned on, enables queue management for this project.

Broker configuration

SettingDescription
Broker TypeChoose the message broker for your queue. Options: PG-Boss (PostgreSQL), BullMQ (Redis).

PG-Boss (PostgreSQL) configuration

When using PG-Boss, jobs are stored in a PostgreSQL database.

SettingDefaultDescription
Use Existing DatabaseEnabledUse the project's existing database connection. If disabled, you can specify a separate database connection.
HostlocalhostDatabase server hostname or IP.
Port5432Database server port.
UsernamepostgresDatabase username.
PasswordDatabase password.
Database NamemydbName of the database.
SchemapgbossPostgreSQL schema name for PG-Boss tables.

BullMQ (Redis) configuration

When using BullMQ, jobs are stored in a Redis instance.

SettingDefaultDescription
HostlocalhostRedis server hostname.
Port6379Redis server port.
PasswordRedis authentication password.
Database0Redis database index (0–15).