From a06896ffccbd6d7dfbed5508fd1700e770abaeae Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Thu, 16 May 2024 14:03:07 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Reverting=20to=20nats=20for=20tr?= =?UTF-8?q?ansporter=20needs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.env | 2 +- moleculer.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.env b/docker-compose.env index c4ff2a8..739cd70 100644 --- a/docker-compose.env +++ b/docker-compose.env @@ -3,7 +3,7 @@ LOGGER=true LOGLEVEL=info SERVICEDIR=dist/services -TRANSPORTER=redis://redis:6379 +TRANSPORTER=nats://localhost:4222 COMICS_DIRECTORY=/Users/rishi/work/threetwo-core-service/comics USERDATA_DIRECTORY=/Users/rishi/work/threetwo-core-service/userdata REDIS_URI=redis://redis:6379 diff --git a/moleculer.config.ts b/moleculer.config.ts index 69e2ce2..6744107 100644 --- a/moleculer.config.ts +++ b/moleculer.config.ts @@ -90,7 +90,7 @@ const brokerConfig: BrokerOptions = { // More info: https://moleculer.services/docs/0.14/networking.html // Note: During the development, you don't need to define it because all services will be loaded locally. // In production you can set it via `TRANSPORTER=nats://localhost:4222` environment variable. - transporter: process.env.REDIS_URI || "redis://localhost:6379", + transporter: "nats://localhost:4222", // Define a cacher. // More info: https://moleculer.services/docs/0.14/caching.html