浏览代码

chore: Disable redis by default

olivermrbl 2 年之前
父节点
当前提交
2262dfa4f7
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2 4
      medusa-config.js

+ 2 - 4
medusa-config.js

@@ -68,10 +68,8 @@ const projectConfig = {
   database_type: DATABASE_TYPE,
   store_cors: STORE_CORS,
   admin_cors: ADMIN_CORS,
-}
-
-if (REDIS_URL) {
-  projectConfig.redis_url = REDIS_URL;
+  // Uncomment the following lines to enable REDIS
+  // redis_url = REDIS_URL
 }
 
 if (DATABASE_URL && DATABASE_TYPE === "postgres") {