Properties
Optional connectTimeout
connectTimeout?: number
Optional disconnectTimeout
disconnectTimeout?: number
Optional enableTLSForSentinelMode
enableTLSForSentinelMode?: boolean
Optional failoverDetector
failoverDetector?: boolean
Optional name
name?: string
Optional preferredSlaves
preferredSlaves?: PreferredSlaves
Optional role
role?: "master" | "slave"
Optional sentinelCommandTimeout
sentinelCommandTimeout?: number
Optional sentinelMaxConnections
sentinelMaxConnections?: number
Optional sentinelPassword
sentinelPassword?: string
Optional sentinelTLS
sentinelTLS?: ConnectionOptions
Optional sentinelUsername
sentinelUsername?: string
Optional tls
tls?: ConnectionOptions
Optional updateSentinels
updateSentinels?: boolean
Master group name of the Sentinel