cluster: fix cluster rr distribute error when `accept` fails.
fix cluster rr distribute error when accept
fails.
node:internal/linkedlist:31
if (item._idleNext || item._idlePrev) {
^
TypeError: Cannot read properties of undefined (reading '_idleNext')
at append (node:internal/linkedlist:31:12)
at RoundRobinHandle.distribute (node:internal/cluster/round_robin_handle:105:3)
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines