(err)
| 66 | // 错误重连策略 |
| 67 | reconnectOnError(err) { |
| 68 | const targetErrors = ['READONLY', 'ETIMEDOUT', 'ECONNRESET', 'EPIPE'] |
| 69 | return targetErrors.some(e => err.message.includes(e)) |
| 70 | } |
| 71 | }) |
| 72 | |
| 73 | /** |
| 74 | * 验证 Redis 命令通道是否可用 |
nothing calls this directly
no outgoing calls
no test coverage detected