docs: triage issues + revamp troubleshooting guides (#14216)

* docs: triage issues + revamp troubleshooting guides

* small change
This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-12-04 17:12:48 +02:00
1 parent a00bba5cfc
commit e3e3c725db
23 files changed
+126 -69

No files matched your search

+17 -4
View File
@@ -25386,9 +25386,9 @@ While this is the recommended way to create a Medusa application, you can altern
### Prerequisites
- [Node.js v20+ (LTS versions)](https://nodejs.org/en/download)
- [Node.js v20+ (LTS versions only)](https://nodejs.org/en/download)
- [Git CLI tool](https://git-scm.com/downloads)
- [PostgreSQL](https://www.postgresql.org/download/)
- [PostgreSQL installed and running](https://www.postgresql.org/download/)
To create a Medusa application, use the `create-medusa-app` command:
@@ -46123,7 +46123,7 @@ const step1 = createStep(
"step-1",
async ({}, { container }) => {
const eventModuleService = container.resolve(
Modules.EVENT
Modules.EVENT_BUS
)
await eventModuleService.emit({
@@ -46162,7 +46162,7 @@ Medusa provides the following Event Modules. You can use one of them, or [Create
The Redis Event Module uses Redis to implement Medusa's pub/sub events system.
It's powered by BullMQ and `io-redis`. BullMQ is responsible for the message queue and worker, and `io-redis` is the underlying Redis client that BullMQ connects to for events storage.
It's powered by [BullMQ](https://bullmq.io/) and `io-redis`. BullMQ is responsible for the message queue and worker, and `io-redis` is the underlying Redis client that BullMQ connects to for events storage.
In production, it's recommended to use this module.
@@ -46190,6 +46190,19 @@ module.exports = defineConfig({
resolve: "@medusajs/medusa/event-bus-redis",
options: {
redisUrl: process.env.EVENTS_REDIS_URL,
// suggested additional options for production use
jobOptions: {
removeOnComplete: {
// keep jobs for 1 hour or up to 1000 jobs
age: 3600,
count: 1000,
},
removeOnFail: {
// keep jobs for 1 hour or up to 1000 jobs
age: 3600,
count: 1000,
}
}
},
},
],