From aa1a8fe58d86832566ceab51cb644df141d98b2f Mon Sep 17 00:00:00 2001 From: schlypel Date: Wed, 6 Dec 2023 11:38:58 +0100 Subject: [PATCH] Initialize config.cascading in cluster_manager --- source/cluster_manager/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/cluster_manager/index.js b/source/cluster_manager/index.js index a211deb3a..45cff4d1c 100644 --- a/source/cluster_manager/index.js +++ b/source/cluster_manager/index.js @@ -42,6 +42,7 @@ config.rabbit = config.rabbit || {}; config.rabbit.host = config.rabbit.host || 'localhost'; config.rabbit.port = config.rabbit.port || 5672; +config.cascading = config.cascading || {}; config.cascading.enabled = config.cascading.enabled || false; config.cascading.url = config.cascading.url; config.cascading.region = config.cascading.region; @@ -121,4 +122,4 @@ process.on('exit', function () { process.on('SIGUSR2', function() { logger.reconfigure(); -}); \ No newline at end of file +});