From 22e4841c7f8462ea6cb715b2c4ba7c5d196c86ce Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Mon, 25 Nov 2024 13:39:39 +0100 Subject: [PATCH] fixup Signed-off-by: Matteo Collina --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index 05ad20f..ab9b76a 100644 --- a/index.js +++ b/index.js @@ -210,8 +210,7 @@ function createThreadInterceptor (opts) { return } - const roundRobinIndex = roundRobin.findIndex(port) - res.setAddress(msg.url, roundRobinIndex, msg.address, false) + res.setAddress(msg.url, msg.index, msg.address, false) } } })