|
|
@ -560,7 +560,7 @@ exports.radius = function (
|
|
|
|
* Redis server ping
|
|
|
|
* Redis server ping
|
|
|
|
* @param {string} dsn The redis connection string
|
|
|
|
* @param {string} dsn The redis connection string
|
|
|
|
* @param {boolean} rejectUnauthorized If false, allows unverified server certificates.
|
|
|
|
* @param {boolean} rejectUnauthorized If false, allows unverified server certificates.
|
|
|
|
* @returns {Promise<any>}
|
|
|
|
* @returns {Promise<any>} Response from server
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
exports.redisPingAsync = function (dsn, rejectUnauthorized) {
|
|
|
|
exports.redisPingAsync = function (dsn, rejectUnauthorized) {
|
|
|
|
return new Promise((resolve, reject) => {
|
|
|
|
return new Promise((resolve, reject) => {
|
|
|
|