(upstream)
| 8739 | if (err && err.code === "UND_ERR_SOCKET") { |
| 8740 | pool[kWeight] = Math.max(1, pool[kWeight] - this[kErrorPenalty]); |
| 8741 | this._updateBalancedPoolStats(); |
| 8742 | } |
| 8743 | }); |
| 8744 | for (const client of this[kClients]) { |
| 8745 | client[kWeight] = this[kMaxWeightPerServer]; |
| 8746 | } |
| 8747 | this._updateBalancedPoolStats(); |
| 8748 | return this; |
| 8749 | } |
| 8750 | _updateBalancedPoolStats() { |
| 8751 | let result = 0; |
nothing calls this directly
no test coverage detected