Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SentinelConnectionOptions

Hierarchy

  • SentinelConnectionOptions

Index

Properties

connectTimeout?: number
disconnectTimeout?: number
enableTLSForSentinelMode?: boolean
failoverDetector?: boolean
name?: string

Master group name of the Sentinel

natMap?: NatMap
preferredSlaves?: PreferredSlaves
role?: "master" | "slave"
default

"master"

sentinelCommandTimeout?: number
sentinelMaxConnections?: number
default

10

sentinelPassword?: string
sentinelTLS?: ConnectionOptions
sentinelUsername?: string
sentinels?: Partial<SentinelAddress>[]
tls?: ConnectionOptions
updateSentinels?: boolean

Methods

  • sentinelReconnectStrategy(retryAttempts: number): number | void
  • sentinelRetryStrategy(retryAttempts: number): number | void

Generated using TypeDoc