Revert "Merge branch 'master' into getbundles-fix"
This reverts commit30168844f3, reversing changes made to2e60e2e3d5.
This commit is contained in:
@@ -5,7 +5,6 @@ import {
|
||||
MetricRegistry,
|
||||
ServiceBroker,
|
||||
} from "moleculer";
|
||||
const RedisTransporter = require("moleculer").Transporters.Redis;
|
||||
|
||||
/**
|
||||
* Moleculer ServiceBroker configuration file
|
||||
@@ -91,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: new RedisTransporter(process.env.REDIS_URI),
|
||||
transporter: process.env.REDIS_URI || "redis://localhost:6379",
|
||||
|
||||
// Define a cacher.
|
||||
// More info: https://moleculer.services/docs/0.14/caching.html
|
||||
|
||||
Reference in New Issue
Block a user