@lark-apaas/fullstack-nestjs-core 1.1.56-alpha.0 → 1.1.56-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -36409,13 +36409,12 @@ var PlatformModule = class _PlatformModule {
36409
36409
  ],
36410
36410
  useFactory: /* @__PURE__ */ __name((...args) => {
36411
36411
  const appLogger = args[0];
36412
- const fallbackCacheUrl = "rediss://123%3Aapp_testabc%3Avefaas%3Amain:vefaas-secret@[2605:340:cd50:a00:58b5:562d:a3:ca7a]:6379";
36413
- const raw = process.env.SUDA_CACHE_URL ?? "";
36414
- if (!raw) {
36415
- appLogger.warn("SUDA_CACHE_URL is empty, falling back to built-in veFaaS test Redis. Set SUDA_CACHE_URL in production.", "PlatformModule");
36412
+ const connectionString = process.env.SUDA_CACHE_URL ?? "";
36413
+ if (!connectionString) {
36414
+ appLogger.warn("SUDA_CACHE_URL is empty, cache-service will be effectively disabled until it is set.", "PlatformModule");
36416
36415
  }
36417
36416
  return {
36418
- connectionString: raw || fallbackCacheUrl,
36417
+ connectionString,
36419
36418
  connectionTokenFilePath: "/var/run/secrets/zti/credential"
36420
36419
  };
36421
36420
  }, "useFactory")
package/dist/index.js CHANGED
@@ -36382,13 +36382,12 @@ var PlatformModule = class _PlatformModule {
36382
36382
  ],
36383
36383
  useFactory: /* @__PURE__ */ __name((...args) => {
36384
36384
  const appLogger = args[0];
36385
- const fallbackCacheUrl = "rediss://123%3Aapp_testabc%3Avefaas%3Amain:vefaas-secret@[2605:340:cd50:a00:58b5:562d:a3:ca7a]:6379";
36386
- const raw = process.env.SUDA_CACHE_URL ?? "";
36387
- if (!raw) {
36388
- appLogger.warn("SUDA_CACHE_URL is empty, falling back to built-in veFaaS test Redis. Set SUDA_CACHE_URL in production.", "PlatformModule");
36385
+ const connectionString = process.env.SUDA_CACHE_URL ?? "";
36386
+ if (!connectionString) {
36387
+ appLogger.warn("SUDA_CACHE_URL is empty, cache-service will be effectively disabled until it is set.", "PlatformModule");
36389
36388
  }
36390
36389
  return {
36391
- connectionString: raw || fallbackCacheUrl,
36390
+ connectionString,
36392
36391
  connectionTokenFilePath: "/var/run/secrets/zti/credential"
36393
36392
  };
36394
36393
  }, "useFactory")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/fullstack-nestjs-core",
3
- "version": "1.1.56-alpha.0",
3
+ "version": "1.1.56-alpha.1",
4
4
  "description": "FullStack Nestjs Core",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",