singleServerConfig: # 连接空闲超时,单位:毫秒 idleConnectionTimeout: 100000 # 连接超时,单位:毫秒 connectTimeout: 10000 # 命令等待超时,单位:毫秒 timeout: 3000 # 命令失败重试次数 retryAttempts: 3 # 命令重试发送时间间隔,单位:毫秒 retryInterval: 1500 # 密码 password: SEF98uvs98dUAUEF90Udssa # 单个连接最大订阅数量 subscriptionsPerConnection: 5 # 客户端名称 # clientName: null # 节点地址 address: redis://192.168.0.52:6371 # # 发布和订阅连接的最小空闲连接数 # subscriptionConnectionMinimumIdleSize: 1 # # 发布和订阅连接池大小 # subscriptionConnectionPoolSize: 50 # 最小空闲连接数 connectionMinimumIdleSize: 4 # 连接池大小 connectionPoolSize: 8 # redis数据库编号 database: 0 # DNS监测时间间隔,单位:毫秒 dnsMonitoringInterval: 5000 # 线程池数量 threads: 8 # Netty线程池数量 nettyThreads: 4 # 编码 codec: class: "org.redisson.codec.JsonJacksonCodec" # 传输模式 transportMode: "NIO" # 配置看门狗的默认超时时间为30s,这里改为10s lockWatchdogTimeout: 10000