Deprecate message queue type (#10040)
Not removing all the code for now, maybe we should 🤔
This commit is contained in:
@ -7,9 +7,7 @@ image: /images/user-guide/emails/emails_header.png
|
||||
Queues facilitate async operations to be performed. They can be used for performing background tasks such as sending a welcome email on register.
|
||||
Each use case will have its own queue class extended from `MessageQueueServiceBase`.
|
||||
|
||||
Currently, queue supports two drivers which can be configured by env variable `MESSAGE_QUEUE_TYPE`.
|
||||
1. `bull-mq`: this is the default driver, which uses [bull-mq](https://bullmq.io/) under the hood.
|
||||
2. `pg-boss`: this uses [pg-boss](https://github.com/timgit/pg-boss) under the hood.
|
||||
Currently, we only support `bull-mq`[bull-mq](https://bullmq.io/) as the queue driver.
|
||||
|
||||
## Steps to create and use a new queue
|
||||
|
||||
|
||||
@ -158,7 +158,6 @@ yarn command:prod cron:calendar:ongoing-stale
|
||||
['FRONT_PROTOCOL', 'http', 'protocol of the frontend server. Could be `http` or `https`'],
|
||||
['FRONT_PORT', '3001', 'Port of the frontend server.'],
|
||||
['PORT', '3000', 'Port of the backend server'],
|
||||
['CACHE_STORAGE_TYPE', 'redis', 'Cache type (memory, redis...)'],
|
||||
['CACHE_STORAGE_TTL', '3600 * 24 * 7', 'Cache TTL in seconds']
|
||||
]}></ArticleTable>
|
||||
|
||||
@ -276,12 +275,6 @@ yarn command:prod cron:calendar:ongoing-stale
|
||||
['SERVERLESS_LAMBDA_SECRET_ACCESS_KEY', '', 'Optional depending on the authentication method'],
|
||||
]}></ArticleTable>
|
||||
|
||||
### Message Queue
|
||||
|
||||
<ArticleTable options={[
|
||||
['MESSAGE_QUEUE_TYPE', 'bull-mq', "Queue driver: 'bull-mq'"],
|
||||
]}></ArticleTable>
|
||||
|
||||
### Logging
|
||||
|
||||
<ArticleTable options={[
|
||||
|
||||
Reference in New Issue
Block a user