From 5f7657e6868d6f7ba85e8742b8cd068a166626dc Mon Sep 17 00:00:00 2001 From: Quan HL Date: Thu, 5 Oct 2023 06:11:49 +0700 Subject: [PATCH] add sentinelPassword option --- app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index aa23612..07b9981 100644 --- a/app.js +++ b/app.js @@ -33,7 +33,10 @@ const JAMBONES_REDIS_SENTINELS = process.env.JAMBONES_REDIS_SENTINELS ? { }), ...(process.env.JAMBONES_REDIS_SENTINEL_USERNAME && { username: process.env.JAMBONES_REDIS_SENTINEL_USERNAME - }) + }), + ...(process.env.JAMBONES_REDIS_SENTINEL_SENTINAL_PASSWORD && { + sentinelPassword: process.env.JAMBONES_REDIS_SENTINEL_SENTINAL_PASSWORD + }), } : null; const Srf = require('drachtio-srf');