Skip to content

Commit

Permalink
add sentinelPassword option (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
xquanluu authored Oct 4, 2023
1 parent 454986e commit f7bd1f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,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');
Expand Down

0 comments on commit f7bd1f2

Please sign in to comment.