Skip to content

Commit

Permalink
add sentinelPassword option (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
xquanluu authored Oct 4, 2023
1 parent 63e72fb commit a379957
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 @@ -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');
Expand Down

0 comments on commit a379957

Please sign in to comment.