Skip to content

Saleor Core: the high performance, composable, headless commerce API.

feat(devcontainer): use Celery eager mode by default (#19195)

Mikail85a00bbfade6
diff --git a/.devcontainer/backend.env b/.devcontainer/backend.env
index 4cdf696fbe..947873d8a0 100644
--- a/.devcontainer/backend.env
+++ b/.devcontainer/backend.env
@@ -2,8 +2,12 @@ DATABASE_URL=postgres://saleor:saleor@db/saleor
DASHBOARD_URL=http://localhost:9000/
CACHE_URL=redis://cache:6379/0
-CELERY_BROKER_URL=redis://cache:6379/1
SECRET_KEY=changeme
# Mailpit
EMAIL_URL=smtp://mailpit:1025
ALLOWED_HOSTS="localhost,127.0.0.1,host.docker.internal,host.containers.internal"
+
+# Uncomment to enable Celery in async mode. By default, we disable `CELERY_BROKER_URL`
+# in the devcontainer in order to use the Eager Mode (i.e., tasks will be processed
+# synchronously instead of offloading the tasks to Celery).
+#CELERY_BROKER_URL=redis://cache:6379/1