Redis not emitting events
This troubleshooting guide only applies to Medusa backends using versions before v1.8 of the core Medusa package.
When you create a new Medusa backend, Redis is disabled by default. Instead, a fake Redis backend is used that allows you to start your project but does not actually emit any events.
To enable a real Redis backend, you need to install Redis on your machine and configure it with Medusa.
You can learn how to install Redis in the Set Up your Development Environment documentation.
After installing it, make sure to configure your Medusa backend to use Redis:
By default, Medusa connects to Redis over the URL redis://localhost:6379
. If you need to change that URL, set the following environment variable:
See Also
Was this page helpful?